summaryrefslogtreecommitdiffstats
path: root/internal/models/shortlinks.go
blob: 206a6cd8d7d725f3efc652e3bdc70aefeacc296b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package models

type ShortlinksSearchParams struct {
	Keywords  string
	Ext       string
	Order     string
	Direction string
	Regexp    bool
	Limit     int
	Start     int
}

type ShortlinksSearchResponse struct {
	Credits CreditsInfo `json:"credits"`
	Results interface{} `json:"results"`
}