geoip

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2016 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Filename string
)

Functions

func Command

func Command(lf LogFunc) *cobra.Command

Command returns cobra command for updating geo ip database

func Download

func Download() error

Download file

func Reader

func Reader() (*geoip2.Reader, error)

Reader returns Geo2Ip reader instance

Types

type LogFunc

type LogFunc func(format string, args ...interface{})

Jump to

Keyboard shortcuts

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