Documentation ¶
Index ¶
- Variables
- func GetObject(namespace string, objectName string, targetKV ...string) interface{}
- func RegisterParser(dataFormat string, parser Parser)
- func RegisterParserByFunc(dataFormat string, f func(data []byte) (interface{}, error))
- func SetObject(namespace string, objectName string, dataFormat string, content []byte)
- func SetObjectToggle(namespace string, objectName string, content string)
- func SetObjectVariant(namespace string, objectName string, variantName string, dataFormat string, ...)
- func ShouldUse(namespace string, objectName string, targetKV ...string) bool
- type Parser
Constants ¶
This section is empty.
Variables ¶
View Source
var Mux = &http.ServeMux{}
View Source
var SourceDir = os.Getenv("HOME") + "/conf"
Functions ¶
func RegisterParser ¶
func RegisterParserByFunc ¶
func SetObjectToggle ¶
SetObjectToggle is only intended to be used in test
Types ¶
Click to show internal directories.
Click to hide internal directories.