run

package
v0.0.0-...-4106910 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Config   ServerConfig
	Services []Service
	// contains filtered or unexported fields
}

func NewServer

func NewServer(c *ServerConfig) *Server

func (*Server) Close

func (s *Server) Close() error

func (*Server) Open

func (s *Server) Open() error

type ServerConfig

type ServerConfig struct {
	AWS  aws.Config
	HTTP httpd.Config
	DNS  named.Config
}

func NewConfig

func NewConfig(file string) (error, *ServerConfig)

type Service

type Service interface {
	Open() error
	Close() error
}

Jump to

Keyboard shortcuts

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