config

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HotReloader

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

func NewHotReloader

func NewHotReloader(path string, initialConfig any, logger *slog.Logger) (*HotReloader, error)

func (*HotReloader) Close

func (h *HotReloader) Close() error

func (*HotReloader) Get

func (h *HotReloader) Get() any

func (*HotReloader) OnReload

func (h *HotReloader) OnReload(fn func(any))

func (*HotReloader) Start

func (h *HotReloader) Start(ctx context.Context) error

Jump to

Keyboard shortcuts

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