cliutil

package
v0.0.0-...-42f6de0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSignalCtx

func NewSignalCtx() (context.Context, context.CancelFunc)

func Run

func Run(r Runner)

func RunFunc

func RunFunc(fn func() error)

Types

type Runner

type Runner interface {
	Run() error
}

Jump to

Keyboard shortcuts

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