lifecycle

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lifecycle

type Lifecycle struct {
	// contains filtered or unexported fields
}

func (*Lifecycle) Add added in v0.1.0

func (l *Lifecycle) Add(r Runner)

func (*Lifecycle) Start

func (l *Lifecycle) Start(ctx context.Context) error

type Runner added in v0.1.0

type Runner interface {
	Run(ctx context.Context) error
}

type RunnerFunc added in v0.1.0

type RunnerFunc func(ctx context.Context) error

func (RunnerFunc) Run added in v0.1.0

func (r RunnerFunc) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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