Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultFilePath = "./etc/" DefaultConfigName = "config" )
Functions ¶
func Setup ¶
func Setup(configHandlers ...*WatchConfigHandler)
Types ¶
type WatchConfigHandler ¶
type WatchConfigHandler struct { Key string OldValue string Func WatchHandler }
type WatchHandler ¶
Click to show internal directories.
Click to hide internal directories.