mock

package
v0.0.0-...-be28d35 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2020 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInternal = errors.New("the internal error", errors.WithVendor(errVendor), errors.WithCode(-1))
	ErrParams   = errors.New("params error", errors.WithVendor(errVendor), errors.WithCode(-2))
)

errors

Functions

func LoopRoutingTable

func LoopRoutingTable(node network.Node, duration time.Duration)

LoopRoutingTable .

Types

type Sharding

type Sharding interface {
	Nodes() []network.Node
}

Sharding the dfs network sharding

func SetupBootstrapSharding

func SetupBootstrapSharding(name string, size int) (Sharding, error)

SetupBootstrapSharding .

Jump to

Keyboard shortcuts

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