mubu

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Err                             = xerror.NewXErr("mubu")
	ErrParametersIncorrectOrMissing = Err.New("parameters incorrect or missing")
	ErrAuthIncorrect                = Err.New("auth incorrect")
	ErrPermissionsMissing           = Err.New("permissions missing")
	ErrNotFound                     = Err.New("not found")
	ErrServer                       = Err.New("server error")
	ErrRateLimitOver                = Err.New("too many requests")
	ErrUnknownCode                  = Err.New("unknown code")

	ErrJsonUnmarshal = Err.New("json unmarshal error")
)

Functions

func New

func New(fn ...func(*mubu)) abc.IMubu

func WithRetry added in v0.0.3

func WithRetry(retryCount, retryWaitTime, retryMaxWaitTime int) func(*mubu)

func WithTimeout added in v0.0.3

func WithTimeout(timeout int) func(*mubu)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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