server

package
v0.11.7 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2016 License: Apache-2.0 Imports: 19 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 restarted.

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