geoip

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Version     = "latest"
	ServiceName = "p1geoip"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	GeoReader *geoip2.Reader
}

func (*Service) GetIpData

func (c *Service) GetIpData(ctx context.Context, req *proto.GeoIpDataRequest, res *proto.GeoIpDataResponse) error

Directories

Path Synopsis
Package proto is a generated protocol buffer package.
Package proto is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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