server

package
v0.0.0-...-02c4206 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2013 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Host

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

func NewHost

func NewHost(config *util.DynMap, port string) *Host

func (*Host) Init

func (h *Host) Init()

func (*Host) NextProxy

func (h *Host) NextProxy() *httputil.ReverseProxy

get the next available proxy from our round robin channel

type Server

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

func NewServer

func NewServer(configPath string) *Server

func (*Server) Init

func (s *Server) Init() *Server

func (*Server) Listen

func (s *Server) Listen()

Jump to

Keyboard shortcuts

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