hashed

package
v0.0.0-...-74fc604 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(hasher hash.Hash64) balancer.Balancer

Types

type Hashed

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

func (*Hashed) Add

func (h *Hashed) Add(target string) error

func (*Hashed) Get

func (h *Hashed) Get(id string) (string, error)

func (*Hashed) Restore

func (h *Hashed) Restore(_ string) error

func (*Hashed) Sub

func (h *Hashed) Sub(target string) error

Jump to

Keyboard shortcuts

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