Documentation ¶
Index ¶
- type Reader
- func (r *Reader) CheckValid() string
- func (r *Reader) CompatibleToOldVersion()
- func (r *Reader) GetAllCountryCode() (output []string)
- func (r *Reader) MustGetCountryIsoCode(ip net.IP) (code string)
- func (r *Reader) MustGetCountryIsoCodeByString(ip string) (code string)
- func (r *Reader) ReadNode(nodeNumber uint32, index uint8) uint32
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reader ¶
type Reader struct { Buf []byte `json:",emitempty"` Ipv4StartNode uint32 `json:",emitempty"` NodeNum uint32 `json:",emitempty"` IsoIdCodeMap map[uint32]string `json:",emitempty"` IsoIdCodeList []string `json:",emitempty"` Ipv4FirstByteNodeCache []uint32 `json:",emitempty"` CheckSum string `json:",emitempty"` }
func (*Reader) CheckValid ¶
func (*Reader) CompatibleToOldVersion ¶
func (r *Reader) CompatibleToOldVersion()
func (*Reader) GetAllCountryCode ¶
func (*Reader) MustGetCountryIsoCode ¶
func (*Reader) MustGetCountryIsoCodeByString ¶
Click to show internal directories.
Click to hide internal directories.