Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ServerHost string `env:"SERVER_HOST" envDefault:"localhost"` ServerPort int `env:"SERVER_PORT" envDefault:"8888"` ServerReadTimeout time.Duration `env:"SERVER_READ_TIMEOUT"` ServerWriteTimeout time.Duration `env:"SERVER_WRITE_TIMEOUT"` DomainFilter []string `env:"DOMAIN_FILTER" envDefault:""` ExcludeDomains []string `env:"EXCLUDE_DOMAIN_FILTER" envDefault:""` RegexDomainFilter string `env:"REGEXP_DOMAIN_FILTER" envDefault:""` RegexDomainExclusion string `env:"REGEXP_DOMAIN_FILTER_EXCLUSION" envDefault:""` }
Config struct for configuration environmental variables
Click to show internal directories.
Click to hide internal directories.