Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { AllowNetworkList []string `mapstructure:"allowNetworkList,omitempty"` CountryAllowList []string `mapstructure:"countryAllowList,omitempty"` CountryDenyList []string `mapstructure:"countryDenyList,omitempty"` RefreshInterval string `mapstructure:"refreshInterval,omitempty"` AppendDrop bool `mapstructure:"appendDrop,omitempty"` }
func LoadConfig ¶
LoadConfig reads configuration from file or environment variables.
Click to show internal directories.
Click to hide internal directories.