Versions in this module Expand all Collapse all v1 v1.1.1 Feb 26, 2026 Changes in this version + type Country struct + GeonameId int + ISOCode string + IsInEuropeanUnion bool + Names Names + type Location struct + MetroCode int + type MaxmindGeolocation struct + AllowASN []string + AllowCountries []string + AllowMetroCodes []string + AllowSubdivisions []string + CachePath string + DbPath string + DenyASN []string + DenyCountries []string + DenyMetroCodes []string + DenySubdivisions []string + GitHubAsset string + GitHubRepo string + GitHubToken string + UpdateInterval caddy.Duration + func (*MaxmindGeolocation) CaddyModule() caddy.ModuleInfo + func (m *MaxmindGeolocation) Cleanup() error + func (m *MaxmindGeolocation) Match(r *http.Request) bool + func (m *MaxmindGeolocation) Provision(ctx caddy.Context) error + func (m *MaxmindGeolocation) UnmarshalCaddyfile(d *caddyfile.Dispenser) error + func (m *MaxmindGeolocation) Validate() error + type Names struct + De string + En string + Es string + Fr string + PtBr string + Ru string + ZhCn string + type Record struct + AutonomousSystemNumber int + Country Country + Location Location + Subdivisions Subdivisions + type Subdivision struct + ISOCode string + type Subdivisions []Subdivision + func (s Subdivisions) CommaSeparatedISOCodes() string + func (s Subdivisions) GetISOCodes() []string