Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildDownloadUrl ¶
func GetBuildTime ¶
Types ¶
type MaxMindClient ¶
type MaxMindClient struct { HttpClient *http.Client Verbose bool // contains filtered or unexported fields }
func NewDownloader ¶
func NewDownloader(licenseKey string, directoryPath string) *MaxMindClient
func (*MaxMindClient) GetLastModified ¶
func (mm *MaxMindClient) GetLastModified(editionID string) (time.Time, error)
func (*MaxMindClient) IsUpToDate ¶
func (mm *MaxMindClient) IsUpToDate(db *maxminddb.Reader) (bool, error)
func (*MaxMindClient) Latest ¶
func (mm *MaxMindClient) Latest(editionID string) (*maxminddb.Reader, error)
Click to show internal directories.
Click to hide internal directories.