server

package
v0.0.0-...-6fc17c5 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2017 License: BSD-3-Clause Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpHandler

type HttpHandler struct {
	// contains filtered or unexported fields
}

func NewHttpHandler

func NewHttpHandler(frontend *modules.Frontend, server *LbServer) HttpHandler

func (HttpHandler) HandleRequest

func (h HttpHandler) HandleRequest(w http.ResponseWriter, r *http.Request)

func (HttpHandler) HandleResponse

func (h HttpHandler) HandleResponse(result modules.SLBRequest, w http.ResponseWriter, s *LbServer, r *http.Request)

type LbServer

func NewServer

func NewServer(configuration config.Configuration) *LbServer

func (*LbServer) RunFrontendServer

func (s *LbServer) RunFrontendServer(frontend *modules.Frontend)

func (*LbServer) Start

func (s *LbServer) Start()

func (*LbServer) Stop

func (s *LbServer) Stop()

type ShutdownChan

type ShutdownChan chan bool

Jump to

Keyboard shortcuts

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