server

package
v0.0.0-...-54005c8 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2017 License: Unlicense Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(cfg Config, logger log.Logger)

Run starts a new http server, gRPC server, and a debug server with the passed config and logger

Types

type Config

type Config struct {
	HTTPAddr  string
	DebugAddr string
	GRPCAddr  string
}

Config contains the required fields for running a server

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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