Help us shape the future of Go! Take the 2026 Go Developer Survey

geoipupdate

module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2018 License: Apache-2.0, MIT

README

GeoIP Update

Build Status

The GeoIP Update program performs automatic updates of GeoIP2 and GeoIP Legacy binary databases. CSV databases are not supported.

This is the new version of GeoIP Update. If for some reason you need the legacy C version, you can find it here.

Installation from source or Git

You need the Go compiler (1.8+). You can get it at the Go website.

The easiest way is via go get:

$ go get -u github.com/maxmind/geoipupdate2/cmd/geoipupdate

The program will be installed to $GOPATH/bin/geoipupdate.

Configuring

Please see our online guide for directions on how to configure GeoIP Update.

Documentation

See our documentation for the geoipupdate program and the GeoIP.conf configuration file.

Default config file and database directory paths

We define default paths for the config file and database directory. If these defaults are not appropriate for you, you can change them at build time using flags:

go build -ldflags "-X main.defaultConfigFile=/etc/GeoIP.conf \
    -X main.defaultDatabaseDirectory=/usr/share/GeoIP"

Bug Reports

Please report bugs by filing an issue with our GitHub issue tracker at https://github.com/maxmind/geoipupdate2/issues

This software is Copyright (c) 2018 by MaxMind, Inc.

This is free software, licensed under the Apache License, Version 2.0 or the MIT License, at your option.

Directories

Path Synopsis
cmd
geoipupdate command

Jump to

Keyboard shortcuts

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