util

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapRPCError

func MapRPCError(rpcErr error) error

MapRPCError converts a RPC error with nested informatoin to a error with a useful and complete message.

func Retry

func Retry(numRetries int, retryWait time.Duration, backoff float32, run func(done *bool) error) error

Retry will retry running the provided function.

Types

This section is empty.

Jump to

Keyboard shortcuts

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