maxmind

package
v0.0.0-...-be06655 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 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 (
	TypeASNCSV = "maxmindGeoLite2ASNCSV"
	DescASNCSV = "Convert MaxMind GeoLite2 ASN CSV data to other formats"
)
View Source
const (
	TypeCountryCSV = "maxmindGeoLite2CountryCSV"
	DescCountryCSV = "Convert MaxMind GeoLite2 country CSV data to other formats"
)
View Source
const (
	TypeMaxmindMMDBIn = "maxmindMMDB"
	DescMaxmindMMDBIn = "Convert MaxMind mmdb database to other formats"
)
View Source
const (
	TypeMaxmindMMDBOut = "maxmindMMDB"
	DescMaxmindMMDBOut = "Convert data to MaxMind mmdb database format"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GeoLite2ASNCSV

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

func (*GeoLite2ASNCSV) GetAction

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

func (*GeoLite2ASNCSV) GetDescription

func (g *GeoLite2ASNCSV) GetDescription() string

func (*GeoLite2ASNCSV) GetType

func (g *GeoLite2ASNCSV) GetType() string

func (*GeoLite2ASNCSV) Input

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

type GeoLite2CountryCSV

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

func (*GeoLite2CountryCSV) GetAction

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

func (*GeoLite2CountryCSV) GetDescription

func (g *GeoLite2CountryCSV) GetDescription() string

func (*GeoLite2CountryCSV) GetType

func (g *GeoLite2CountryCSV) GetType() string

func (*GeoLite2CountryCSV) Input

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

type MMDBIn

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

func (*MMDBIn) GetAction

func (m *MMDBIn) GetAction() lib.Action

func (*MMDBIn) GetDescription

func (m *MMDBIn) GetDescription() string

func (*MMDBIn) GetType

func (m *MMDBIn) GetType() string

func (*MMDBIn) Input

func (m *MMDBIn) Input(container lib.Container) (lib.Container, error)

type MMDBOut

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

	SourceMMDBURI string
}

func (*MMDBOut) GetAction

func (m *MMDBOut) GetAction() lib.Action

func (*MMDBOut) GetDescription

func (m *MMDBOut) GetDescription() string

func (*MMDBOut) GetExtraInfo

func (m *MMDBOut) GetExtraInfo() (map[string]interface{}, error)

func (*MMDBOut) GetType

func (m *MMDBOut) GetType() string

func (*MMDBOut) Output

func (m *MMDBOut) Output(container lib.Container) error

Jump to

Keyboard shortcuts

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