ingest

package
v0.0.0-...-1c396e8 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPSet

type IPSet struct {
	IPv4 string `json:"ipv4"`
	IPv6 string `json:"ipv6"`
}

IPSet is a combination of one IPv4 address and one IPv6 address

func (*IPSet) HasIPv4

func (ipSet *IPSet) HasIPv4() bool

HasIPv4 evaluates whether an IPSet contains a IPv4 address

func (*IPSet) HasIPv6

func (ipSet *IPSet) HasIPv6() bool

HasIPv6 evaluates whether an IPSet contains a IPv6 address

func (*IPSet) IsIPv4

func (ipSet *IPSet) IsIPv4() bool

IsIPv4 evaluates whether an IPSet contains a valid IPv4 address

func (*IPSet) IsIPv6

func (ipSet *IPSet) IsIPv6() bool

IsIPv6 evaluates whether an IPSet contains a valid IPv6 address

type Mode

type Mode interface {
	Process() (*IPSet, error)
}

Mode defines the interface for IP address ingest mode processing

type ModeType

type ModeType string

ModeType sets the IP address ingest mode

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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