server

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2014 License: Apache-2.0 Imports: 20 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 {
	// contains filtered or unexported fields
}

func New

func New(cfg config.Config) (*Server, error)

func (*Server) MarshalJSON added in v0.2.0

func (s *Server) MarshalJSON() ([]byte, error)

func (*Server) Monitor added in v0.5.3

func (s *Server) Monitor()

Monitor tracks the health of the Server. If the Server is ever deemed unhealthy, the Server is stopped, purged, and started up again.

func (*Server) Purge

func (s *Server) Purge()

func (*Server) Run

func (s *Server) Run()

func (*Server) Stop

func (s *Server) Stop()

Jump to

Keyboard shortcuts

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