common

package
v0.0.0-...-233725d Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ElectionRootPath  = "/engine-consistent-hashing-service"
	ElectionPath      = "/engine-consistent-hashing-service/election"
	LeaderPath        = "/engine-consistent-hashing-service/leader"
	ElectionHeartbeat = 10 * time.Second

	ForwardTimeout = 10 * time.Second
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Uint16_n

type Uint16_n []uint16 // nolint

Uint16 array

func (Uint16_n) Len

func (e Uint16_n) Len() int

func (Uint16_n) Less

func (e Uint16_n) Less(i, j int) bool

func (Uint16_n) Swap

func (e Uint16_n) Swap(i, j int)

type Uint32_n

type Uint32_n []uint32

Uint32 array

func (Uint32_n) Len

func (e Uint32_n) Len() int

func (Uint32_n) Less

func (e Uint32_n) Less(i, j int) bool

func (Uint32_n) Swap

func (e Uint32_n) Swap(i, j int)

type Uint64s_n

type Uint64s_n []uint64 // nolint

Uint64 array

func (Uint64s_n) Len

func (e Uint64s_n) Len() int

func (Uint64s_n) Less

func (e Uint64s_n) Less(i, j int) bool

func (Uint64s_n) Swap

func (e Uint64s_n) Swap(i, j int)

type Uint8_n

type Uint8_n []uint8 // nolint

Uint8 array

func (Uint8_n) Len

func (e Uint8_n) Len() int

func (Uint8_n) Less

func (e Uint8_n) Less(i, j int) bool

func (Uint8_n) Swap

func (e Uint8_n) Swap(i, j int)

Jump to

Keyboard shortcuts

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