cidr

package
v1.18.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

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) AddIpCidr

func (set *IpCidrSet) AddIpCidr(ipCidr netip.Prefix) (err error)

func (*IpCidrSet) AddIpCidrForString

func (set *IpCidrSet) AddIpCidrForString(ipCidr string) error

func (*IpCidrSet) IsContain

func (set *IpCidrSet) IsContain(ip netip.Addr) bool

func (*IpCidrSet) IsContainForString

func (set *IpCidrSet) IsContainForString(ipString string) bool

func (*IpCidrSet) Merge

func (set *IpCidrSet) Merge() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL