ddnsretry

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrCanceledRetry = errors.New(`canceled retry:`)
View Source
var RetrtDuration atomic.Int32 // 最大间隔秒数

Functions

func Retry

func Retry(ctx context.Context, fn func(ctx context.Context) error, step ...int) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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