Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GobProvider ¶
type GobProvider struct {
Filename string
}
GobProvider provides a map with all configuration settings set in a go binary file The prefix will be removed from the key name. Returns a map or error.
func (GobProvider) Provide ¶
func (g GobProvider) Provide() (map[string]string, error)
Provide implements the Provider interface
func (GobProvider) Save ¶
func (g GobProvider) Save(cfg *Config) error
Save will store the provided configuration
Click to show internal directories.
Click to hide internal directories.