Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/tkrs/mmdb-grpc
- Owner: tkrs
- License: mit
- Created: 2020-04-28T12:16:15.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-07-07T23:26:02.000Z (6 months ago)
- Last Synced: 2024-07-08T06:53:41.079Z (6 months ago)
- Topics: geoip2, grpc
- Language: Rust
- Homepage:
- Size: 339 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 databasesUsage: 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
```