Documentation ¶
Index ¶
- Constants
- Variables
- func CheckDecodeHeader(r io.Reader) (err error)
- type FileMap
- type IpBitMap
- func (ipbm *IpBitMap) AddIP(ip net.IP) (err error)
- func (ipbm *IpBitMap) Close() (err error)
- func (ipbm *IpBitMap) Decode(r io.Reader) (err error)
- func (ipbm *IpBitMap) Encode(w io.Writer) (err error)
- func (ipbm *IpBitMap) IPExists(ip net.IP) (ok bool, err error)
- func (ipbm *IpBitMap) RemoveIP(ip net.IP) (err error)
Constants ¶
Variables ¶
Functions ¶
func CheckDecodeHeader ¶
Types ¶
type FileMap ¶
type FileMap struct {
// contains filtered or unexported fields
}
func (*FileMap) PreloadFile ¶
func (m *FileMap) PreloadFile() (err error)
type IpBitMap ¶
type IpBitMap struct {
// contains filtered or unexported fields
}
func NewIPBitMap ¶
func NewIPBitMap() *IpBitMap
func NewIPBitMapMemoryMapped ¶
Click to show internal directories.
Click to hide internal directories.