Documentation
¶
Index ¶
Constants ¶
View Source
const (
// TypeStr the value of "type" key in configuration.
TypeStr = "maxmind"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // DatabasePath section allows specifying a local GeoIP database // file to retrieve the geographical metadata from. DatabasePath string `mapstructure:"database_path"` }
Config defines configuration for MaxMind provider.
type Factory ¶ added in v0.105.0
type Factory struct{}
Factory is the Factory for the MaxMind GeoIP provider.
func (*Factory) CreateDefaultConfig ¶ added in v0.105.0
CreateDefaultConfig creates the default configuration for the Provider.
Click to show internal directories.
Click to hide internal directories.