cmd

package
v0.3.15 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2025 License: Apache-2.0, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Timed

func Timed(d time.Duration, f func(context.Context) error) error

Types

type Graceful

type Graceful struct {
	Start func() error
	Stop  func() error
}

func (*Graceful) Do

func (g *Graceful) Do(ctx context.Context) error

Jump to

Keyboard shortcuts

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