Documentation
¶
Index ¶
- type Configuration
- func (c *Configuration) Clear()
- func (c *Configuration) Get(key string) interface{}
- func (c *Configuration) GetBase64(key string) string
- func (c *Configuration) GetBool(key string) bool
- func (c *Configuration) GetFloat(key string) float64
- func (c *Configuration) GetInt(key string) int
- func (c *Configuration) GetString(key string) string
- func (c *Configuration) UpsertKey(key string, value interface{}) error
- func (c *Configuration) UpsertKeys(values map[string]interface{}) []error
- type Context
- type ServiceProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct {
}
func GetConfigService ¶
func GetConfigService() *Configuration
func NewConfigService ¶
func NewConfigService() *Configuration
func (*Configuration) Clear ¶
func (c *Configuration) Clear()
func (*Configuration) Get ¶
func (c *Configuration) Get(key string) interface{}
func (*Configuration) GetBase64 ¶
func (c *Configuration) GetBase64(key string) string
func (*Configuration) GetBool ¶
func (c *Configuration) GetBool(key string) bool
func (*Configuration) GetFloat ¶
func (c *Configuration) GetFloat(key string) float64
func (*Configuration) GetInt ¶
func (c *Configuration) GetInt(key string) int
func (*Configuration) GetString ¶
func (c *Configuration) GetString(key string) string
func (*Configuration) UpsertKey ¶
func (c *Configuration) UpsertKey(key string, value interface{}) error
func (*Configuration) UpsertKeys ¶
func (c *Configuration) UpsertKeys(values map[string]interface{}) []error
type Context ¶
type Context struct {
Configuration *Configuration
CorrelationId string
Environment string
IsDevelopment bool
Debug bool
Init func() error
}
Context entity
func GetContext ¶
func GetContext() *Context
func InitNewContext ¶
func NewContext ¶
type ServiceProvider ¶
func GetServiceProvider ¶
func GetServiceProvider() *ServiceProvider
func NewServiceProvider ¶
func NewServiceProvider() *ServiceProvider
Click to show internal directories.
Click to hide internal directories.