ipcachetypes

package
v1.11.5 Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 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 IPListEntrySlice

type IPListEntrySlice []*models.IPListEntry

func (IPListEntrySlice) Len

func (s IPListEntrySlice) Len() int

func (IPListEntrySlice) Less

func (s IPListEntrySlice) Less(i, j int) bool

Less sorts the IPListEntry objects by CIDR prefix then IP address. Given that the same IP cannot map to more than one identity, no further sorting is performed.

func (IPListEntrySlice) Swap

func (s IPListEntrySlice) Swap(i, j int)

Jump to

Keyboard shortcuts

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