Documentation
¶
Index ¶
Constants ¶
View Source
const ( FlagLogLevel = "log-level" FlagLogFormat = "log-format" FlagRedisHost = "redis-host" FlagRedisPort = "redis-port" FlagRedisPassword = "redis-password" FlagRedisDB = "redis-db" FlagHTTPTimeout = "http-timeout" FlagUpdatesAddr = "updates-addr" FlagUpdatesHost = "updates-host" FlagDownloadAddr = "download-addr" FlagDownloadHost = "download-host" FlagAccountID = "account-id" FlagLicenseKey = "license-key" FlagCacheDuration = "cache-duration" FlagDebugAddr = "debug-addr" FlagTranslateIngressNginxUrls = "translate-ingress-nginx-urls" )
View Source
const EnvPrefix = "GEOIP_"
Variables ¶
This section is empty.
Functions ¶
func RegisterCompletions ¶
Types ¶
type Config ¶
type Config struct { RedisHost string RedisPort uint16 RedisPassword string RedisDB int HTTPTimeout time.Duration UpdatesAddr string UpdatesHost string DownloadAddr string DownloadHost string AccountID int LicenseKey string CacheDuration time.Duration DebugAddr string TranslateIngressNginxPaths bool // contains filtered or unexported fields }
func NewDefault ¶
func NewDefault() *Config
func (*Config) RegisterFlags ¶
Click to show internal directories.
Click to hide internal directories.