server

package
v0.0.0-...-f1b8dfb Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2017 License: Unlicense Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEndpoints

func NewEndpoints() svc.Endpoints

func Run

func Run(cfg Config)

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