routine

package module
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2025 License: BSD-3-Clause Imports: 3 Imported by: 2

README

go-routine

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Retry

func Retry(ctx context.Context, count int, ttl time.Duration, call func(context.Context) error) error

Types

type TickFunc added in v0.4.0

type TickFunc func(context.Context, time.Time)

type Ticker added in v0.4.0

type Ticker struct {
	Interval time.Duration
	OnStart  bool
	Calls    []TickFunc
	// contains filtered or unexported fields
}

func (*Ticker) Run added in v0.4.0

func (t *Ticker) Run(ctx context.Context)

Jump to

Keyboard shortcuts

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