支持查看ipv6了

This commit is contained in:
ayflying
2025-09-18 17:54:11 +08:00
parent 92e48bc613
commit 9b85ae821a
2 changed files with 74 additions and 30 deletions

View File

@@ -5,10 +5,14 @@
package service
import (
"github.com/lionsoul2014/ip2region/binding/golang/xdb"
)
type (
IIp2Region interface {
// @receiver s *sIp2region: sIp2region的实例。
Load()
Load(t *xdb.Version)
GetIp(ip string) (res []string)
}
)