Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrIpParseFailed = errors.New("failed to parse geo ip") ErrIpNotFound = errors.New("ip not found") )
Functions ¶
func ProvideMemoryProvider ¶
func ProvideMemoryProvider(name string) *memoryProvider
Types ¶
type MemoryRecord ¶
type Provider ¶
func NewMaxmindProvider ¶
type ProviderFactory ¶
type ReaderSettings ¶
type ReaderSettings struct {
Provider string `cfg:"provider" default:"maxmind"`
}
Click to show internal directories.
Click to hide internal directories.