Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TagName = "plugconf" ErrOutputNotStruct = errors.New("output is not a struct") )
Functions ¶
This section is empty.
Types ¶
type ErrAlreadyRegistered ¶
type ErrAlreadyRegistered struct {
// contains filtered or unexported fields
}
func NewErrAlreadyRegistered ¶
func NewErrAlreadyRegistered(field string, reg *registration) *ErrAlreadyRegistered
func (*ErrAlreadyRegistered) Error ¶
func (e *ErrAlreadyRegistered) Error() string
type PlugConf ¶
type PlugConf struct {
// contains filtered or unexported fields
}
PlugConf implements a pluggable configuration store
func NewPlugConf ¶
func NewPlugConf() *PlugConf
NewPlugConf creates a new PlugConf with a given starting map
func (*PlugConf) MustRegister ¶
MustRegister is like Register but panics on failure
Click to show internal directories.
Click to hide internal directories.