maxmindv3

package
v1.33.0-20240426201503... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_geoip_providers_maxmind_v3_maxmind_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type MaxMindConfig

type MaxMindConfig struct {

	// Full file path to the Maxmind city database, e.g. /etc/GeoLite2-City.mmdb.
	// Database file is expected to have .mmdb extension.
	CityDbPath string `protobuf:"bytes,1,opt,name=city_db_path,json=cityDbPath,proto3" json:"city_db_path,omitempty"`
	// Full file path to the Maxmind ASN database, e.g. /etc/GeoLite2-ASN.mmdb.
	// Database file is expected to have .mmdb extension.
	IspDbPath string `protobuf:"bytes,2,opt,name=isp_db_path,json=ispDbPath,proto3" json:"isp_db_path,omitempty"`
	// Full file path to the Maxmind anonymous IP database, e.g. /etc/GeoIP2-Anonymous-IP.mmdb.
	// Database file is expected to have .mmdb extension.
	AnonDbPath string `protobuf:"bytes,3,opt,name=anon_db_path,json=anonDbPath,proto3" json:"anon_db_path,omitempty"`
	// Common provider configuration that specifies which geolocation headers will be populated with geolocation data.
	CommonProviderConfig *v3.CommonGeoipProviderConfig `protobuf:"bytes,4,opt,name=common_provider_config,json=commonProviderConfig,proto3" json:"common_provider_config,omitempty"`
	// contains filtered or unexported fields
}

func (*MaxMindConfig) Descriptor deprecated

func (*MaxMindConfig) Descriptor() ([]byte, []int)

Deprecated: Use MaxMindConfig.ProtoReflect.Descriptor instead.

func (*MaxMindConfig) GetAnonDbPath

func (x *MaxMindConfig) GetAnonDbPath() string

func (*MaxMindConfig) GetCityDbPath

func (x *MaxMindConfig) GetCityDbPath() string

func (*MaxMindConfig) GetCommonProviderConfig

func (x *MaxMindConfig) GetCommonProviderConfig() *v3.CommonGeoipProviderConfig

func (*MaxMindConfig) GetIspDbPath

func (x *MaxMindConfig) GetIspDbPath() string

func (*MaxMindConfig) ProtoMessage

func (*MaxMindConfig) ProtoMessage()

func (*MaxMindConfig) ProtoReflect

func (x *MaxMindConfig) ProtoReflect() protoreflect.Message

func (*MaxMindConfig) Reset

func (x *MaxMindConfig) Reset()

func (*MaxMindConfig) String

func (x *MaxMindConfig) String() string

Jump to

Keyboard shortcuts

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