server

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2018 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RLBServer

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

RLBServer - main rlb server

func NewRLBServer

func NewRLBServer(picker picker.Interface, emsg, statsURL, version string) *RLBServer

NewRLBServer makes a new rlb server for map of services

func (*RLBServer) DoJump

func (s *RLBServer) DoJump(w http.ResponseWriter, r *http.Request)

DoJump - jump to alive server for svc, url = Query("url")

func (*RLBServer) Run

func (s *RLBServer) Run()

Run activates alive updater and web server

Jump to

Keyboard shortcuts

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