chore: better geodata shared

This commit is contained in:
wwqgtxx
2023-03-23 18:58:24 +08:00
parent 7e10d78d53
commit a7944f1369
3 changed files with 44 additions and 49 deletions

View File

@ -14,6 +14,5 @@ type LoaderImplementation interface {
type Loader interface {
LoaderImplementation
LoadGeoSite(list string) ([]*router.Domain, error)
LoadGeoSiteWithAttr(file string, siteWithAttr string) ([]*router.Domain, error)
LoadGeoIP(country string) ([]*router.CIDR, error)
}