jumpgate

command module
v0.0.0-...-5d28778 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2018 License: BSD-3-Clause Imports: 12 Imported by: 0

README

jumpgate

Build Status Go Report Card Docker Image

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.

Installation

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

Deployment Info

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
element43
services/esiMarkets
Package esiMarkets is a generated protocol buffer package.
Package esiMarkets is a generated protocol buffer package.
services/marketStats
Package marketStats is a generated protocol buffer package.
Package marketStats is a generated protocol buffer package.
services/staticData
Package staticData is a generated protocol buffer package.
Package staticData is a generated protocol buffer package.
services/topStations
Package topStations is a generated protocol buffer package.
Package topStations is a generated protocol buffer package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL