This service for Element43 is based on grpc-gateway and translates requests between HTTP and gRPC.
Issues can be filed here. Pull requests can be made in this repo.
Either use the prebuilt Docker images and pass the appropriate env vars (see below), or:
- Install Go, clone this repo into your gopath
- Run
go get ./...
to fetch the service's dependencies - Run
bash generateProto.sh
to generate the necessary gRPC-related code - Run
go build
to build the service - Run
./jumpgate
to start the service
Builds and releases are handled by Drone.
Environment Variable | Default | Description |
---|---|---|
LOG_LEVEL | info | The service's log level |
LISTEN_HOST | :8000 | The host/port jumpgate will listen on |
ESI_MARKETS_HOST | esi-markets.element43.svc.cluster.local:43000 | Location of the ESI markets service |
MARKET_STATS_HOST | market-stats.element43.svc.cluster.local:43000 | Location of the market statistics service |
STATIC_DATA_HOST | static-data.element43.svc.cluster.local:43000 | Location of the static data service |
TOP_STATIONS_HOST | top-stations.element43.svc.cluster.local:43000 | Location of the top stations service |