util

package
v0.0.0-...-208c1b2 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 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