fx

package
v2.4.8 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Level   zerolog.Level
	Enabled bool
}

type ConfigHolder

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

func NewConfigHolder

func NewConfigHolder(cfg Config) *ConfigHolder

func (*ConfigHolder) Get

func (h *ConfigHolder) Get() *Config

func (*ConfigHolder) Reload

func (h *ConfigHolder) Reload(cfg Config)

Jump to

Keyboard shortcuts

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