Documentation ¶
Index ¶
Constants ¶
View Source
const ( Toml = "toml" Yaml = "yaml" Json = "json" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigMate ¶
type ConfigMate interface {
PrimitiveDecode(vals ...ConfigureMatcher) error
}
func NewConfig ¶
func NewConfig(cbs ...CfgBasic) ConfigMate
type ConfigWithToml ¶
type ConfigWithToml struct {
// contains filtered or unexported fields
}
func (*ConfigWithToml) Decode ¶
func (ct *ConfigWithToml) Decode() error
func (*ConfigWithToml) PrimitiveDecode ¶
func (ct *ConfigWithToml) PrimitiveDecode(vals ...ConfigureMatcher) error
type Configuration ¶
type Configuration interface {
Decode() error
}
type ConfigureMatcher ¶
type ConfigureMatcher interface {
Name() string
}
Click to show internal directories.
Click to hide internal directories.