Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvProvider ¶
type EnvProvider struct {
// contains filtered or unexported fields
}
func New ¶
func New() *EnvProvider
func (*EnvProvider) Get ¶
func (p *EnvProvider) Get(key string) (interface{}, error)
func (*EnvProvider) NotifyChange ¶
func (p *EnvProvider) NotifyChange() chan bool
NotifyChange return a channel and notify you when file be changed.
func (*EnvProvider) SetEnvPrefix ¶
func (p *EnvProvider) SetEnvPrefix(prefix string)
Click to show internal directories.
Click to hide internal directories.