Documentation ¶
Index ¶
Constants ¶
View Source
const ( // RedirectMode1 [IP][0x01][国家和地区信息的绝对偏移地址] RedirectMode1 = 0x01 // RedirectMode2 [IP][0x02][信息的绝对偏移][...] or [IP][国家][...] RedirectMode2 = 0x02 )
Variables ¶
This section is empty.
Functions ¶
func Bytes3ToUint32 ¶
Types ¶
type IPDB ¶
type IPDB[T ~uint32 | ~uint64] struct { Data []byte OffLen uint8 IPLen uint8 IPCnt T IdxStart T IdxEnd T }
IPDB common ip database
Click to show internal directories.
Click to hide internal directories.