aboutsummaryrefslogtreecommitdiff
path: root/routes/structs.go
diff options
context:
space:
mode:
authorFChannel <>2022-05-22 14:08:36 -0700
committerFChannel <>2022-06-19 12:53:29 -0700
commita66b676481d273508927e64a22e388dc302890ba (patch)
tree7c67b04dd8b39125526567ae6f08a39d0346d260 /routes/structs.go
parent6a0f664b565716ad08301e7699d6c0393dbba977 (diff)
route organization
Diffstat (limited to 'routes/structs.go')
-rw-r--r--routes/structs.go56
1 files changed, 0 insertions, 56 deletions
diff --git a/routes/structs.go b/routes/structs.go
deleted file mode 100644
index 1c85676..0000000
--- a/routes/structs.go
+++ /dev/null
@@ -1,56 +0,0 @@
-package routes
-
-import (
- "github.com/FChannel0/FChannel-Server/activitypub"
- "github.com/FChannel0/FChannel-Server/db"
- "github.com/FChannel0/FChannel-Server/util"
- "github.com/FChannel0/FChannel-Server/webfinger"
-)
-
-type PageData struct {
- Title string
- PreferredUsername string
- Board webfinger.Board
- Pages []int
- CurrentPage int
- TotalPage int
- Boards []webfinger.Board
- Posts []activitypub.ObjectBase
- Key string
- PostId string
- Instance activitypub.Actor
- InstanceIndex []activitypub.ObjectBase
- ReturnTo string
- NewsItems []db.NewsItem
- BoardRemainer []int
- Meta Meta
-
- Themes *[]string
- ThemeCookie string
-}
-
-type AdminPage struct {
- Title string
- Board webfinger.Board
- Key string
- Actor string
- Boards []webfinger.Board
- Following []string
- Followers []string
- Reported []db.Report
- Domain string
- IsLocal bool
- PostBlacklist []util.PostBlacklist
- AutoSubscribe bool
- RecentPosts []activitypub.ObjectBase
-
- Themes *[]string
- ThemeCookie string
-}
-
-type Meta struct {
- Title string
- Description string
- Url string
- Preview string
-}