Versions in this module Expand all Collapse all v0 v0.7.0 Dec 17, 2018 Changes in this version + const ErrInvalidIP + type HTTPServer struct + func NewHTTPServer(sugar *zap.SugaredLogger, dataDir string, host string) (*HTTPServer, error) + func (h *HTTPServer) Run() error + type Locator struct + func NewLocator(sugar *zap.SugaredLogger, dataDir string) (*Locator, error) + func (il *Locator) IPToCountry(ipParsed net.IP) (string, error)