maxmind

package
v0.0.0-...-ad8a220 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	DB *geoip2.Reader
	// contains filtered or unexported fields
}

func New

func New(log *zerolog.Logger, licenseKey string) Server

func (*Server) CloseDB

func (s *Server) CloseDB() error

func (*Server) DownloadDB

func (s *Server) DownloadDB() error

func (*Server) OpenDB

func (s *Server) OpenDB() error

func (*Server) RunDownloadScheduler

func (s *Server) RunDownloadScheduler() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL