Documentation ¶
Index ¶
- type IpCidrSet
- func (set *IpCidrSet) AddIpCidr(ipCidr netip.Prefix) (err error)
- func (set *IpCidrSet) AddIpCidrForString(ipCidr string) error
- func (set *IpCidrSet) Foreach(f func(prefix netip.Prefix) bool)
- func (set *IpCidrSet) IsContain(ip netip.Addr) bool
- func (set *IpCidrSet) IsContainForString(ipString string) bool
- func (set *IpCidrSet) Merge() error
- func (set *IpCidrSet) ToIPSet() *netipx.IPSet
- func (ss *IpCidrSet) WriteBin(w io.Writer) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IpCidrSet ¶
type IpCidrSet struct {
// contains filtered or unexported fields
}
func NewIpCidrSet ¶
func NewIpCidrSet() *IpCidrSet
func (*IpCidrSet) AddIpCidrForString ¶
func (*IpCidrSet) IsContainForString ¶
Click to show internal directories.
Click to hide internal directories.