Documentation
¶
Index ¶
- func AdminAddHidden(store *persist.AdminStore) gin.HandlerFunc
- func AdminClearCache(c *cache.Cache) gin.HandlerFunc
- func AdminGetHidden(store *persist.AdminStore, cfg *config.Config) gin.HandlerFunc
- func AdminRemoveHidden(store *persist.AdminStore) gin.HandlerFunc
- func AdminStats(c *cache.Cache) gin.HandlerFunc
- func Health(d *sql.DB, version string) gin.HandlerFunc
- func Leaderboard(s *service.Service, store *persist.AdminStore) gin.HandlerFunc
- func Meta(cfg *config.Config, version string) gin.HandlerFunc
- func Rank(s *service.Service, store *persist.AdminStore) gin.HandlerFunc
- type EmbedDefault
- type MetaResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdminAddHidden ¶
func AdminAddHidden(store *persist.AdminStore) gin.HandlerFunc
func AdminClearCache ¶
func AdminClearCache(c *cache.Cache) gin.HandlerFunc
func AdminGetHidden ¶
func AdminGetHidden(store *persist.AdminStore, cfg *config.Config) gin.HandlerFunc
func AdminRemoveHidden ¶
func AdminRemoveHidden(store *persist.AdminStore) gin.HandlerFunc
func AdminStats ¶
func AdminStats(c *cache.Cache) gin.HandlerFunc
func Leaderboard ¶
func Leaderboard(s *service.Service, store *persist.AdminStore) gin.HandlerFunc
func Rank ¶
func Rank(s *service.Service, store *persist.AdminStore) gin.HandlerFunc
Types ¶
type EmbedDefault ¶
type MetaResponse ¶
type MetaResponse struct {
Leaderboards []service.LeaderboardMeta `json:"leaderboards"`
Embed EmbedDefault `json:"embed"`
Version string `json:"version"`
}
Click to show internal directories.
Click to hide internal directories.