Documentation ¶
Index ¶
- func ConnectToMaster(addr string, client bool, id identity.NodeID)
- func FindIntSlice(slice []int, val int) bool
- func IdentifierFixture() crypto.Identifier
- func MapRandomKeyGet(mapI interface{}) interface{}
- func Max(a, b int) int
- func RandomPick(n int, f int) []int
- func Retry(f func() error, attempts int, sleep time.Duration) error
- func Schedule(f func(), delay time.Duration) chan bool
- func VMax(v ...int) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectToMaster ¶
ConnectToMaster connects to master node and set global Config
func FindIntSlice ¶
func IdentifierFixture ¶
func IdentifierFixture() crypto.Identifier
func MapRandomKeyGet ¶
func MapRandomKeyGet(mapI interface{}) interface{}
func RandomPick ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.