Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Latest commit

 

History

History
55 lines (42 loc) · 1.49 KB

README.md

File metadata and controls

55 lines (42 loc) · 1.49 KB

mmdb-grpc

crates.io Build Release

The gRPC service that provides a query to 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 <HOST>
          [default: localhost]
  -P, --port <PORT>
          [default: 50000]
  -F, --file <MMDB_PATH>
          [default: /usr/share/GeoIP/GeoLite2-City.mmdb]
  -W, --workers <WORKERS>
          [default: 1]
      --slots-per-worker <SLOTS_PER_WORKER>
          
      --keepalive-time <KEEPALIVE_TIME>
          
      --keepalive-timeout <KEEPALIVE_TIMEOUT>
          
      --keepalive-permit-without-calls <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 <HOST>          [default: localhost]
  -P, --port <PORT>          [default: 50000]
  -S, --schedule <SCHEDULE>  
  -h, --help                 Print help
  -V, --version              Print version