maxmind

package
v0.0.0-...-fdab3dd Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2025 License: CC-BY-SA-4.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

View Source
const (
	TypeDBIPCountryMMDBIn = "dbipCountryMMDB"
	DescDBIPCountryMMDBIn = "Convert DB-IP country mmdb database to other formats"
)
View Source
const (
	TypeDBIPCountryMMDBOut = "dbipCountryMMDB"
	DescDBIPCountryMMDBOut = "Convert data to DB-IP country mmdb database format"
)
View Source
const (
	TypeIPInfoCountryMMDBIn = "ipinfoCountryMMDB"
	DescIPInfoCountryMMDBIn = "Convert IPInfo country mmdb database to other formats"
)
View Source
const (
	TypeIPInfoCountryMMDBOut = "ipinfoCountryMMDB"
	DescIPInfoCountryMMDBOut = "Convert data to IPInfo country mmdb database format"
)
View Source
const (
	TypeGeoLite2ASNCSVIn = "maxmindGeoLite2ASNCSV"
	DescGeoLite2ASNCSVIn = "Convert MaxMind GeoLite2 ASN CSV data to other formats"
)
View Source
const (
	TypeGeoLite2CountryCSVIn = "maxmindGeoLite2CountryCSV"
	DescGeoLite2CountryCSVIn = "Convert MaxMind GeoLite2 country CSV data to other formats"
)
View Source
const (
	TypeGeoLite2CountryMMDBIn = "maxmindMMDB"
	DescGeoLite2CountryMMDBIn = "Convert MaxMind mmdb database to other formats"
)
View Source
const (
	TypeGeoLite2CountryMMDBOut = "maxmindMMDB"
	DescGeoLite2CountryMMDBOut = "Convert data to MaxMind mmdb database format"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GeoLite2ASNCSVIn

type GeoLite2ASNCSVIn struct {
	Type        string
	Action      lib.Action
	Description string
	IPv4File    string
	IPv6File    string
	Want        map[string][]string
	OnlyIPType  lib.IPType
}

func (*GeoLite2ASNCSVIn) GetAction

func (g *GeoLite2ASNCSVIn) GetAction() lib.Action

func (*GeoLite2ASNCSVIn) GetDescription

func (g *GeoLite2ASNCSVIn) GetDescription() string

func (*GeoLite2ASNCSVIn) GetType

func (g *GeoLite2ASNCSVIn) GetType() string

func (*GeoLite2ASNCSVIn) Input

func (g *GeoLite2ASNCSVIn) Input(container lib.Container) (lib.Container, error)

type GeoLite2CountryCSVIn

type GeoLite2CountryCSVIn struct {
	Type            string
	Action          lib.Action
	Description     string
	CountryCodeFile string
	IPv4File        string
	IPv6File        string
	Want            map[string]bool
	OnlyIPType      lib.IPType
}

func (*GeoLite2CountryCSVIn) GetAction

func (g *GeoLite2CountryCSVIn) GetAction() lib.Action

func (*GeoLite2CountryCSVIn) GetDescription

func (g *GeoLite2CountryCSVIn) GetDescription() string

func (*GeoLite2CountryCSVIn) GetType

func (g *GeoLite2CountryCSVIn) GetType() string

func (*GeoLite2CountryCSVIn) Input

func (g *GeoLite2CountryCSVIn) Input(container lib.Container) (lib.Container, error)

type GeoLite2CountryMMDBIn

type GeoLite2CountryMMDBIn struct {
	Type        string
	Action      lib.Action
	Description string
	URI         string
	Want        map[string]bool
	OnlyIPType  lib.IPType
}

func (*GeoLite2CountryMMDBIn) GetAction

func (g *GeoLite2CountryMMDBIn) GetAction() lib.Action

func (*GeoLite2CountryMMDBIn) GetDescription

func (g *GeoLite2CountryMMDBIn) GetDescription() string

func (*GeoLite2CountryMMDBIn) GetType

func (g *GeoLite2CountryMMDBIn) GetType() string

func (*GeoLite2CountryMMDBIn) Input

func (g *GeoLite2CountryMMDBIn) Input(container lib.Container) (lib.Container, error)

type GeoLite2CountryMMDBOut

type GeoLite2CountryMMDBOut struct {
	Type        string
	Action      lib.Action
	Description string
	OutputName  string
	OutputDir   string
	Want        []string
	Overwrite   []string
	Exclude     []string
	OnlyIPType  lib.IPType

	SourceMMDBURI string
}

func (*GeoLite2CountryMMDBOut) GetAction

func (g *GeoLite2CountryMMDBOut) GetAction() lib.Action

func (*GeoLite2CountryMMDBOut) GetDescription

func (g *GeoLite2CountryMMDBOut) GetDescription() string

func (*GeoLite2CountryMMDBOut) GetExtraInfo

func (g *GeoLite2CountryMMDBOut) GetExtraInfo() (map[string]any, error)

func (*GeoLite2CountryMMDBOut) GetType

func (g *GeoLite2CountryMMDBOut) GetType() string

func (*GeoLite2CountryMMDBOut) Output

func (g *GeoLite2CountryMMDBOut) Output(container lib.Container) error

Jump to

Keyboard shortcuts

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