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 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.
Click to show internal directories.
Click to hide internal directories.