mmdb-grpc

Crates.iommdb-grpc
lib.rsmmdb-grpc
version0.5.8
sourcesrc
created_at2020-05-21 15:34:59.506973
updated_at2023-04-08 16:44:15.160101
descriptionThe gRPC service that provides a query to Maxmind's GeoLite2 databases
homepagehttps://github.com/tkrs/mmdb-grpc
repositoryhttps://github.com/tkrs/mmdb-grpc.git
max_upload_size
id244186
size74,585
Takeru Sato (tkrs)

documentation

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

README

mmdb-grpc

crates.io Build Release

The gRPC service that provides a query to maxminddb

Usage

❯ cargo install mmdb-grpc
❯ mmdb-server --help
mmdb-grpc x.y.z
Takeru Sato <type.in.type@gmail.com>

USAGE:
    mmdb-server [OPTIONS]

FLAGS:
        --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -h, --host <host>                                                        [default: localhost]
        --keepalive-permit-without-calls <keepalive-permit-without-calls>
        --keepalive-time <keepalive-time>
        --keepalive-timeout <keepalive-timeout>
    -f, --file <mmdb-path>
            [default: /usr/share/GeoIP/GeoLite2-City.mmdb]

    -p, --port <port>                                                        [default: 50000]
        --slots-per-worker <slots-per-worker>
    -w, --workers <workers>                                                  [default: 1]
❯ mmdb-reload --help
mmdb-grpc x.y.z
Takeru Sato <type.in.type@gmail.com>

USAGE:
    mmdb-reload [OPTIONS]

FLAGS:
        --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -h, --host <host>             [default: localhost]
    -p, --port <port>             [default: 50000]
    -s, --schedule <schedule>
Commit count: 306

cargo fmt