Versions in this module Expand all Collapse all v0 v0.1.0 Nov 3, 2022 Changes in this version + const DebugLevel + const ErrorLevel + const FilePerm + const FolderPerm + const InfoLevel + const TrackerModeDisabled + const TrackerModeEnabled + const TrackerModeInfo + const WarnLevel + var CachePath string + type Configuration struct + Announce struct{ ... } + DB struct{ ... } + Debug struct{ ... } + ExpvarInterval time.Duration + HTTP struct{ ... } + LogLevel LogLevel + Numwant struct{ ... } + Path struct{ ... } + UDP struct{ ... } + var Config *Configuration + var Logger *zap.Logger + func Load() (*Configuration, error) + func (conf *Configuration) SetLogLevel(level LogLevel) + func (config *Configuration) Loaded() bool + func (config *Configuration) Parse() error + type EmbeddedCache map[string]string + func GenerateEmbeddedCache() (EmbeddedCache, error) + type LogLevel string + func (l LogLevel) Debug() bool