server

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2016 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(config Config)

Start starts the server

Types

type Config

type Config struct {
	Port             string
	EtcdEndpoints    []string
	ElasticsearchURL string
	ClientID         string
	ClientSecret     string
	InfluxURL        string
	DockerURL        string
	DockerVersion    string
	NatsURL          string
}

Config is used for amplifier configuration settings

func StartTestServer

func StartTestServer() (Config, *grpc.ClientConn)

StartTestServer start a server for test

func (Config) String

func (config Config) String() string

String is used to display struct as a string

Jump to

Keyboard shortcuts

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