server

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2017 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultPort          = ":50101"
	DefaultPublicAddress = "local.appcelerator.io"
	DefaultTimeout       = time.Minute
)

Variables

This section is empty.

Functions

func ReadConfig

func ReadConfig(config *Configuration) error

ReadConfig reads the configuration file

func Start

func Start(c *Configuration)

Start starts the amplifier server

Types

type Configuration

type Configuration struct {
	Version          string
	Build            string
	Port             string
	PublicAddress    string
	EtcdEndpoints    []string
	ElasticsearchURL string
	NatsURL          string
	DockerURL        string
	DockerVersion    string
	EmailKey         string
	EmailSender      string
	SmsAccountID     string
	SmsKey           string
	SmsSender        string
}

Config is used for amplifier configuration settings

Jump to

Keyboard shortcuts

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