Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FlagsCache map[string]flags.Flag
FlagsCache is the cache of your flags.
Functions ¶
func Init ¶
Init init the cache of all flags. We are using a singleton to avoid multiple init and to be sure we have only one cache for all the flags in our system.
func UpdateCache ¶
UpdateCache retrieve the flags from the backend file and update the cache, we are using a mutex during the update to be sure to stay consistent.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.