summaryrefslogtreecommitdiff
path: root/internal/api/client/blocks/blocks.go
diff options
context:
space:
mode:
authorLibravatar kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>2023-07-31 11:25:29 +0100
committerLibravatar GitHub <noreply@github.com>2023-07-31 11:25:29 +0100
commited2477ebea4c3ceec5949821f4950db9669a4a15 (patch)
tree1038d7abdfc787ddfc1febb326fd38775b189b85 /internal/api/client/blocks/blocks.go
parent[bugfix/frontend] Decode URI component domain before showing on frontend (#2043) (diff)
downloadgotosocial-ed2477ebea4c3ceec5949821f4950db9669a4a15.tar.xz
[performance] cache follow, follow request and block ID lists (#2027)
Diffstat (limited to 'internal/api/client/blocks/blocks.go')
-rw-r--r--internal/api/client/blocks/blocks.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/api/client/blocks/blocks.go b/internal/api/client/blocks/blocks.go
index bff9a068e..0eeee2bf1 100644
--- a/internal/api/client/blocks/blocks.go
+++ b/internal/api/client/blocks/blocks.go
@@ -30,8 +30,10 @@ const (
// MaxIDKey is the url query for setting a max ID to return
MaxIDKey = "max_id"
+
// SinceIDKey is the url query for returning results newer than the given ID
SinceIDKey = "since_id"
+
// LimitKey is for specifying maximum number of results to return.
LimitKey = "limit"
)