Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var IconNamesSet = map[string]bool{}
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { DBPath string `yaml:"db_path"` ListenAddress string `yaml:"listen_address"` BaseURL string `yaml:"base_url"` Files string `yaml:"files"` BaseDomain string `yaml:"base_domain"` Debug bool `yaml:"debug"` }
Config represents site or converter config
type Pack ¶
type Pack struct { HumanName string `json:"human_name"` Scale int `json:"scale"` VGap *int `json:"vgap"` Disable bool `json:"disable"` Version int `json:"version"` FinalType string `json:"final_type"` HiddenIcons []string `json:"hidden_icons"` Timestamp int64 `json:"timestamp"` InputType string `json:"-"` Name string `json:"-"` Icons map[string]bool `json:"-"` VisibleIcons map[string]bool `json:"-"` }
Pack represents an icon pack
func ParsePacks ¶ added in v1.1.0
Click to show internal directories.
Click to hide internal directories.