proxy

package
v0.0.0-...-61db174 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Proxy

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

func NewProxy

func NewProxy(consistentHash *core.ConsistentHash) *Proxy

func (*Proxy) GetKey

func (p *Proxy) GetKey(key string) (string, error)

func (*Proxy) GetKeyLeast

func (p *Proxy) GetKeyLeast(key string) (string, error)

func (*Proxy) RegisterHost

func (p *Proxy) RegisterHost(address string) error

func (*Proxy) UnregisterHost

func (p *Proxy) UnregisterHost(address string) error

Jump to

Keyboard shortcuts

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