Versions in this module Expand all Collapse all v4 v4.41.0 Jun 24, 2021 Changes in this version + func Decode(filename, code string) ([]byte, error) + type GeoIPCache map[string]*router.GeoIP + func (g GeoIPCache) Get(key string) *router.GeoIP + func (g GeoIPCache) Has(key string) bool + func (g GeoIPCache) Set(key string, value *router.GeoIP) + func (g GeoIPCache) Unmarshal(filename, code string) (*router.GeoIP, error) + type GeoSiteCache map[string]*router.GeoSite + func (g GeoSiteCache) Get(key string) *router.GeoSite + func (g GeoSiteCache) Has(key string) bool + func (g GeoSiteCache) Set(key string, value *router.GeoSite) + func (g GeoSiteCache) Unmarshal(filename, code string) (*router.GeoSite, error)