config

package
v0.0.0-...-3bea39f Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2025 License: GPL-3.0 Imports: 9 Imported by: 0

README

config package

Keep actual configuration for the metad.

  1. Read initial configuration in files.
  2. Reread file configuration on file changes (watch the file).
  3. Provide structures with configuration.
  4. Notify all subscribed packages about configuration changes.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get() *config

Get returns the global config instance

func Init

func Init() error

Init initializes and loads configuration

func Run

func Run() error

Run starts the configuration watcher loop

Types

This section is empty.

Jump to

Keyboard shortcuts

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