summaryrefslogtreecommitdiffstats
path: root/internal/models/shortlinks.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/models/shortlinks.go')
-rw-r--r--internal/models/shortlinks.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/internal/models/shortlinks.go b/internal/models/shortlinks.go
new file mode 100644
index 0000000..206a6cd
--- /dev/null
+++ b/internal/models/shortlinks.go
@@ -0,0 +1,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"`
+}