Documentation ¶
Index ¶
Constants ¶
View Source
const (
PrefAppRegistered = "app.registered"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ViperConfig ¶
type ViperConfig struct {
// contains filtered or unexported fields
}
func LoadViperConfig ¶ added in v1.1.0
func LoadViperConfig(name string) (*ViperConfig, error)
func (*ViperConfig) Delete ¶
func (c *ViperConfig) Delete(key string) error
func (*ViperConfig) Get ¶
func (c *ViperConfig) Get(key string, value interface{}) error
func (*ViperConfig) IsRegistered ¶
func (c *ViperConfig) IsRegistered() bool
func (*ViperConfig) Register ¶
func (c *ViperConfig) Register() error
func (*ViperConfig) Set ¶
func (c *ViperConfig) Set(key string, value interface{}) error
func (*ViperConfig) UnRegister ¶
func (c *ViperConfig) UnRegister() error
Click to show internal directories.
Click to hide internal directories.