Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Configuration ¶
type Configuration struct {
// contains filtered or unexported fields
}
func FromContext ¶
func FromContext(ctx context.Context) *Configuration
func (*Configuration) File ¶
func (c *Configuration) File() string
func (*Configuration) Get ¶
func (c *Configuration) Get(key string) interface{}
type DefaultConfig ¶
type DefaultConfig map[string]interface{}
func Default ¶
func Default(args ...DefaultPairs) DefaultConfig
func (*DefaultConfig) Set ¶
func (dConf *DefaultConfig) Set(key string, value interface{})
type DefaultPairs ¶
type DefaultPairs struct { Key string Value interface{} }
Click to show internal directories.
Click to hide internal directories.