consistent_hash_code

package
v0.0.0-...-11ada09 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Consistent

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

func NewConsistent

func NewConsistent() *Consistent

func (*Consistent) Add

func (c *Consistent) Add(node string) error

func (*Consistent) Get

func (c *Consistent) Get(key string) (string, error)

func (*Consistent) GetNode

func (c *Consistent) GetNode() (node []string)

func (*Consistent) Remove

func (c *Consistent) Remove(node string) error

Jump to

Keyboard shortcuts

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