...
1 package models
2
3 type Webring struct {
4 Name string `json:"name"`
5 URL string `json:"url"`
6 Endpoint string `json:"endpoint"`
7 Logo []string `json:"logo"`
8 Following []string `json:"following"`
9 Blacklist []string `json:"blacklist"`
10 Known []string `json:"known"`
11 Boards []WebringBoard `json:"boards"`
12 }
13
14 type WebringBoard struct {
15 URI string `json:"uri"`
16 Title string `json:"title"`
17 Subtitle string `json:"subtitle"`
18 Path string `json:"path"`
19 PostsPerHour int `json:"postsPerHour"`
20 PostsPerDay int `json:"postsPerDay"`
21 TotalPosts int `json:"totalPosts"`
22 UniqueUsers int `json:"uniqueUsers"`
23 Nsfw bool `json:"nsfw"`
24 Tags []string `json:"tags"`
25 LastPostTimestamp ScuffedTime `json:"lastPostTimestamp"`
26 }
27
View as plain text