Documentation
¶
Index ¶
- Variables
- type CreateOption
- type Entry
- type IPSet
- func (set *IPSet) Add(name string, addr net.IP) (bool, error)
- func (set *IPSet) Add6(name string, addr net.IP) (bool, error)
- func (set *IPSet) Close()
- func (set *IPSet) Command(command string) (int, string, error)
- func (set *IPSet) Create(name string, options ...CreateOption) error
- func (set *IPSet) Destroy(name string) error
- func (set *IPSet) Info(name string) (Info, error)
- func (set *IPSet) Test(name string, addr net.IP) (bool, error)
- func (set *IPSet) Test6(name string, addr net.IP) (bool, error)
- type Info
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrSetExists = errors.New("set exists")
View Source
var ErrSetNotFound = errors.New("set not found")
Functions ¶
This section is empty.
Types ¶
type CreateOption ¶
func CreateOptionFamily ¶
func CreateOptionFamily(family string) CreateOption
func CreateOptionTimeout ¶
func CreateOptionTimeout(timeout int) CreateOption
Click to show internal directories.
Click to hide internal directories.