netip

package
v0.19.3 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2025 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Addr

type Addr struct{ *netip.Addr }

func (*Addr) Reset

func (a *Addr) Reset() error

func (*Addr) Set

func (a *Addr) Set(s string) error

func (*Addr) Type

func (a *Addr) Type() string

type AddrPort

type AddrPort struct{ *netip.AddrPort }

func (*AddrPort) Reset

func (a *AddrPort) Reset() error

func (*AddrPort) Set

func (a *AddrPort) Set(s string) error

func (*AddrPort) Type

func (a *AddrPort) Type() string

type Prefix

type Prefix struct{ *netip.Prefix }

func (*Prefix) Set

func (p *Prefix) Set(s string) error

func (*Prefix) Type

func (p *Prefix) Type() string

type PrefixList

type PrefixList struct {
	PrefixList *[]netip.Prefix
}

func ToPrefixList

func ToPrefixList(p *[]netip.Prefix) *PrefixList

func (*PrefixList) Reset

func (p *PrefixList) Reset() error

func (*PrefixList) Set

func (p *PrefixList) Set(s string) error

func (*PrefixList) Slice

func (p *PrefixList) Slice() []string

func (*PrefixList) String

func (p *PrefixList) String() string

func (*PrefixList) Type

func (p *PrefixList) Type() string

Jump to

Keyboard shortcuts

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