run

package
v0.10.98 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Group

func Group(
	ctx context.Context,
	stack ...Fn,
) error

func GroupSoft

func GroupSoft(
	ctx context.Context,
	stack ...Fn,
) error

Types

type Fn

type Fn = func(context.Context) error

func ErrorFn

func ErrorFn(fn func() error) Fn

func SimpleFn

func SimpleFn(fn func()) Fn

type Middleware added in v0.10.76

type Middleware[H any] = func(H) H

type Middlewares added in v0.10.76

type Middlewares[H any] []Middleware[H]

func (Middlewares[H]) Handler added in v0.10.76

func (mws Middlewares[H]) Handler(handler H) H

Jump to

Keyboard shortcuts

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