fxutil

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2026 License: Apache-2.0 Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRunnable

func RegisterRunnable[T Runnable]() func(lc fx.Lifecycle, sh fx.Shutdowner, r T)

func WithNamedLogger

func WithNamedLogger(name string) fx.Option

Types

type Runnable

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

Jump to

Keyboard shortcuts

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