lib

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPRangeMan

type IPRangeMan struct {
	// contains filtered or unexported fields
}

func NewIPRangeMan

func NewIPRangeMan() *IPRangeMan

func (*IPRangeMan) AddByString

func (man *IPRangeMan) AddByString(strRange string) error

func (*IPRangeMan) HasData

func (man *IPRangeMan) HasData() bool

func (*IPRangeMan) MatchAddr

func (man *IPRangeMan) MatchAddr(addr netip.Addr) bool

func (*IPRangeMan) MatchStringAddr

func (man *IPRangeMan) MatchStringAddr(strAddr string) bool

Jump to

Keyboard shortcuts

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