Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Addr string `yaml:"addr"`
Debug bool `yaml:"debug"`
BaseURL string `yaml:"baseURL"`
CacheDir string `yaml:"cacheDir"`
ProxyDownload bool `yaml:"proxyDownload"`
Github cache.GithubConfig `yaml:"github"`
}
Config of the server
func (*Config) CacheURLBase ¶
CacheURLBase the public base url for cache dir.
func (*Config) CacheURLPath ¶
CacheURLPath the url path of handling cache files.
Click to show internal directories.
Click to hide internal directories.