Help us shape the future of Go! Take the 2026 Go Developer Survey

hasing

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

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

type Options added in v0.7.0

type Options struct {
	HashOn int `mapstructure:"hash_on"`
}

Jump to

Keyboard shortcuts

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