package
Version:
v1.0.2
Opens a new window with list of versions in this module.
Published: Oct 14, 2026
License: MPL-2.0
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package geodata owns verified asset downloads and their single refresh schedule.
Resolve returns one immutable generation so a runtime never sees a mixed GeoIP/GeoSite pair.
type Asset struct {
URL string `json:"url"`
File string `json:"file"`
}
type Policy struct {
Cron string `json:"cron,omitempty"`
Outbound string `json:"outbound,omitempty"`
Assets []Asset `json:"assets"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.