random

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRandom

func NewRandom() balance.Policy

Types

type Random

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

func (*Random) Clone added in v0.5.2

func (r *Random) Clone() balance.Policy

func (*Random) InUse

func (r *Random) InUse(fun func(i uint64))

func (*Random) Init added in v0.5.2

func (r *Random) Init(size uint64)

Jump to

Keyboard shortcuts

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