Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GetConfig func(ctx context.Context, configName string, config interface{}) (ok bool, err error)
GetConfig fills passed config struct and returns ok == true, ok == false and err == nil if config doesn't exists and ok == false and err != nil if an error occurred
View Source
var PutConfig func(ctx context.Context, configName string, config interface{}) error
PutConfig saves config struct with given name or returns error if something went wrong
Functions ¶
func TestGetWrongStruct ¶
func TestNilConfig ¶
func TestNoConfig ¶
func TestNotPointerInGet ¶
func TestPutGet ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.