Tobias von Dewitz f0cf31bd42 parsing more than one nginx log now, dependencies update | %!s(int64=3) %!d(string=hai) anos | |
---|---|---|
.. | ||
.gitignore | %!s(int64=5) %!d(string=hai) anos | |
.gitmodules | %!s(int64=5) %!d(string=hai) anos | |
.golangci.toml | %!s(int64=3) %!d(string=hai) anos | |
.travis.yml | %!s(int64=3) %!d(string=hai) anos | |
LICENSE | %!s(int64=6) %!d(string=hai) anos | |
README.md | %!s(int64=3) %!d(string=hai) anos | |
appveyor.yml | %!s(int64=6) %!d(string=hai) anos | |
decoder.go | %!s(int64=3) %!d(string=hai) anos | |
errors.go | %!s(int64=6) %!d(string=hai) anos | |
mmap_unix.go | %!s(int64=6) %!d(string=hai) anos | |
mmap_windows.go | %!s(int64=6) %!d(string=hai) anos | |
node.go | %!s(int64=3) %!d(string=hai) anos | |
reader.go | %!s(int64=3) %!d(string=hai) anos | |
reader_appengine.go | %!s(int64=6) %!d(string=hai) anos | |
reader_other.go | %!s(int64=6) %!d(string=hai) anos | |
traverse.go | %!s(int64=3) %!d(string=hai) anos | |
verifier.go | %!s(int64=3) %!d(string=hai) anos |
This is a Go reader for the MaxMind DB format. Although this can be used to read GeoLite2 and GeoIP2 databases, geoip2 provides a higher-level API for doing so.
This is not an official MaxMind API.
go get github.com/oschwald/maxminddb-golang
See GoDoc for documentation and examples.
See GoDoc or
example_test.go
for examples.
Contributions welcome! Please fork the repository and open a pull request with your changes.
This is free software, licensed under the ISC License.