Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnknownConfigID = errors.New("Unknown config ID.")
)
Functions ¶
This section is empty.
Types ¶
type ConfigCreator ¶
type ConfigCreator func() interface{}
type ConfigCreatorCache ¶
type ConfigCreatorCache map[string]ConfigCreator
func (ConfigCreatorCache) CreateConfig ¶
func (this ConfigCreatorCache) CreateConfig(id string) (interface{}, error)
func (ConfigCreatorCache) RegisterCreator ¶
func (this ConfigCreatorCache) RegisterCreator(id string, creator ConfigCreator) error
Click to show internal directories.
Click to hide internal directories.