Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tkrs/mmdb-grpc

The gRPC service that provides a query to MaxMind's GeoLite2 database
https://github.com/tkrs/mmdb-grpc

geoip2 grpc

Last synced: 2 months ago
JSON representation

The gRPC service that provides a query to MaxMind's GeoLite2 database

Awesome Lists containing this project

README

        

# mmdb-grpc

[![crates.io](https://img.shields.io/crates/v/mmdb-grpc)](https://crates.io/crates/mmdb-grpc)
[![Build](https://github.com/tkrs/mmdb-grpc/workflows/Build/badge.svg)](https://github.com/tkrs/mmdb-grpc/actions/workflows/build.yml)
[![Release](https://github.com/tkrs/mmdb-grpc/workflows/Release/badge.svg)](https://github.com/tkrs/mmdb-grpc/actions/workflows/release.yml)

The gRPC service that provides a query to [maxminddb](https://docs.rs/crate/maxminddb/)

## Usage

```
❯ cargo install mmdb-grpc
```

```
❯ mmdb-server --help
The gRPC service that provides a query to Maxmind's GeoLite2 databases

Usage: mmdb-server [OPTIONS]

Options:
-H, --host
[default: localhost]
-P, --port
[default: 50000]
-F, --file
[default: /usr/share/GeoIP/GeoLite2-City.mmdb]
-W, --workers
[default: 1]
--slots-per-worker

--keepalive-time

--keepalive-timeout

--keepalive-permit-without-calls
[possible values: true, false]
-h, --help
Print help
-V, --version
Print version

```

```
❯ mmdb-reload --help
Usage: mmdb-reload [OPTIONS]

Options:
-H, --host [default: localhost]
-P, --port [default: 50000]
-S, --schedule
-h, --help Print help
-V, --version Print version
```