package
0.5.1
Repository: https://github.com/opensourceways/mirrorbits.git
Documentation: pkg.go.dev

# Functions

GetConfig returns a pointer to a configuration object FIXME reading from the pointer could cause a race!.
LoadConfig loads the configuration file if it has not yet been loaded.
ReloadConfig reloads the configuration file and update it globally.
SetConfiguration is only used for testing purpose.
SubscribeConfig allows subscribers to get notified when the configuration is updated.

# Variables

TEMPLATES_PATH is set at compile time.

# Structs

Configuration contains all the option available in the yaml file.