Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Executable is overridden by Makefile with executable name Executable = "NoExecutable" // GitVersion is overridden by Makefile with git information GitVersion = "dev" )
View Source
var C = koanf.New(".")
C is the global configuration with "." for delimeter
View Source
var Stop = func() *stop { ctx, cancel := context.WithCancel(context.Background()) return &stop{ ctx: ctx, cancel: cancel, } }()
Stop is the global stop instance
Functions ¶
func InitLogger ¶
func InitLogger(c *koanf.Koanf)
InitLogger loads a global logger based on a koanf configuration
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.