Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Balancer ¶
type Balancer struct {
// contains filtered or unexported fields
}
func NewBalancer ¶
type Pool ¶
type Pool []*Worker
A list of workers. We'll use a heap to respond to requests based on the worker that is the least busy.
type Request ¶
type Request struct {
// contains filtered or unexported fields
}
func NewRequest ¶
func NewRequest(http_req *http.Request, r http.ResponseWriter) Request
Click to show internal directories.
Click to hide internal directories.