Documentation ¶
Index ¶
- Constants
- func GetByPath(c *Config, section string, name string) string
- func GetValuePtrByPath(c *Config, section string, name string) *string
- func SetByPath(c *Config, section string, name string, value string)
- type Config
- type ConfigManager
- type Echomail
- type Mailer
- type Main
- type Netmail
- type Param
Constants ¶
View Source
const CONFIG_MANAGER_ID = "ConfigManager"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigManager ¶
type ConfigManager struct {
// contains filtered or unexported fields
}
func NewConfigManager ¶
func NewConfigManager(r *registry.Container) *ConfigManager
func RestoreConfigManager ¶
func RestoreConfigManager(r *registry.Container) *ConfigManager
func (*ConfigManager) GetConfig ¶
func (self *ConfigManager) GetConfig() *Config
func (*ConfigManager) Restore ¶
func (self *ConfigManager) Restore() (*Config, error)
func (*ConfigManager) Store ¶
func (self *ConfigManager) Store(c *Config) error
Click to show internal directories.
Click to hide internal directories.