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 ¶
type LbServer struct { config.Configuration modules.FrontendList ShutdownChan *modules.WorkerPool sync.Mutex *sync.WaitGroup }
func NewServer ¶
func NewServer(configuration config.Configuration) *LbServer
func (*LbServer) RunFrontendServer ¶
type ShutdownChan ¶
type ShutdownChan chan bool
Click to show internal directories.
Click to hide internal directories.