summaryrefslogtreecommitdiff
path: root/internal/api/server.go
diff options
context:
space:
mode:
authorLibravatar tsmethurst <tobi.smethurst@klarrio.com>2021-03-15 23:05:24 +0100
committerLibravatar tsmethurst <tobi.smethurst@klarrio.com>2021-03-15 23:05:24 +0100
commit4e281f31b0e0c1410264a99687983f2d309cdd00 (patch)
tree13712ef6c55d7a71fa082fc01ed71013054ed217 /internal/api/server.go
parentgo mod tidy (diff)
downloadgotosocial-4e281f31b0e0c1410264a99687983f2d309cdd00.tar.xz
whole buncha stuff
Diffstat (limited to 'internal/api/server.go')
-rw-r--r--internal/api/server.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/api/server.go b/internal/api/server.go
index ed622210b..8af9e75fa 100644
--- a/internal/api/server.go
+++ b/internal/api/server.go
@@ -35,6 +35,10 @@ type Server interface {
Stop()
}
+type AddsRoutes interface {
+ AddRoutes(s Server) error
+}
+
type server struct {
APIGroup *gin.RouterGroup
logger *logrus.Logger