cluster

package
v0.0.0-...-08df8c8 Latest Latest
Warning

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

Go to latest
Published: May 7, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConHashMap

type ConHashMap struct {
	Map map[int]string
	// contains filtered or unexported fields
}

func NewConHashMap

func NewConHashMap(replicas int, fn uint32) *ConHashMap

func (*ConHashMap) Add

func (c *ConHashMap) Add(keys ...string)

func (*ConHashMap) Get

func (c *ConHashMap) Get(key string) string

Jump to

Keyboard shortcuts

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