Documentation
¶
Index ¶
Constants ¶
View Source
const ( Yaml = SourceType("yaml") Env = SourceType("env") )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigType ¶
type ConfigType struct {
Type string `yaml:"type"`
Default string `yaml:"default"`
Source SourceType `yaml:"source"`
}
type DataType ¶
type DataType struct {
Configs map[string]ConfigType `yaml:"config"`
}
type SourceType ¶
type SourceType string
Click to show internal directories.
Click to hide internal directories.