Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( VersionIPBegin uint32 = 4294967040 VersionIPEnd uint32 = 4294967295 UnknownText = []byte("未知") DefaultUnknownRegion = []byte{32, 67, 90, 56, 56, 46, 78, 69, 84} // 未知地区为[ CZ88.NET] ErrIP = errors.New("IP不正确") ErrNotFound = errors.New("未找到IP记录") ErrDecode = errors.New("已找到记录,编码解析错误") )
View Source
var ErrOutOfRange = errors.New("偏移量超出范围")
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder interface {
// contains filtered or unexported methods
}
func WithFileMode ¶
func WithMemoryMode ¶
Click to show internal directories.
Click to hide internal directories.