Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Config Configuration Logger *log.Logger Index IconIndex = IconIndex{} )
Functions ¶
func UpdateIcons ¶ added in v1.1.0
func UpdateIcons(refresh bool)
Types ¶
type App ¶ added in v1.1.0
type App struct { // AppID string `json:"appid"` // Enhanced bool `json:"enhanced"` // TitleBackground string `json:"title_background"` // SHA string `json:"sha"` Icon string `json:"icon"` IconName string `json:"icon_name"` Name string `json:"name"` Website string `json:"website"` License string `json:"license"` Description string `json:"description"` }
type Configuration ¶
type Configuration struct { Global GlobalConfiguration Cors CorsConfiguration Icons IconConfiguration }
type CorsConfiguration ¶
type GlobalConfiguration ¶
type GlobalConfiguration struct { Debug bool ServerAddress string ServerPort string MaxAgeBeforeCleanup int CleanCheckInterval int }
GlobalConfig holds global configuration items
type IconConfiguration ¶ added in v1.1.0
Click to show internal directories.
Click to hide internal directories.