retry

package module
v0.0.0-...-d0cdc3c Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2023 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConcurrencyRetryCallFunc

func ConcurrencyRetryCallFunc(ctx context.Context, fs map[string]ExeFunc,
	params map[string]interface{}, retry ...int) (map[string]interface{}, error)

ConcurrencyRetryCallFunc

func RetryCallFunc

func RetryCallFunc(ctx context.Context, fn ExeFunc,
	params interface{}, retry ...int) (interface{}, error)

RetryCallFunc retry retryTimes, retryPeriod, timeout

Types

type ExeFunc

type ExeFunc = func(ctx context.Context, param interface{}) (interface{}, error)

Jump to

Keyboard shortcuts

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