Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HashingBalancer ¶
type HashingBalancer struct {
// contains filtered or unexported fields
}
func NewBalancer ¶
func NewBalancer(proxies []proxy.Proxy, hashon string) *HashingBalancer
func (*HashingBalancer) Proxies ¶
func (b *HashingBalancer) Proxies() []proxy.Proxy
func (*HashingBalancer) Select ¶
func (b *HashingBalancer) Select(ctx context.Context, c *app.RequestContext) (proxy.Proxy, error)
Click to show internal directories.
Click to hide internal directories.