Documentation
¶
Index ¶
- Variables
- func AspectSetup()
- func BootstrapConfiguration()
- func BootstrapConfiguration_Viper()
- func MainRouterConfiguration()
- type Configuration
- func (this Configuration) GetBool(key string) bool
- func (this Configuration) GetBoolD(key string, defaultValue bool) (value bool)
- func (this Configuration) GetInt(key string) int
- func (this Configuration) GetInt32(key string) int32
- func (this Configuration) GetMap(key string) map[string]interface{}
- func (this Configuration) GetString(key string) string
- func (this Configuration) GetStrings(key string) []string
- func (this Configuration) GetUint64(key string) uint64
- func (this Configuration) IsSensitiveParameter(parameterName string) bool
- func (this Configuration) IsSet(key string) bool
- func (this Configuration) MaskSensitiveValue(parameterValue string) string
- func (this Configuration) ReadConfigValue(key string, rf func() string, df func() string)
- type CustomAspect
Constants ¶
This section is empty.
Variables ¶
View Source
var LoadConfigurationError = ""
View Source
var Router = gin.Default()
Functions ¶
func AspectSetup ¶
func AspectSetup()
func BootstrapConfiguration ¶
func BootstrapConfiguration()
func BootstrapConfiguration_Viper ¶
func BootstrapConfiguration_Viper()
func MainRouterConfiguration ¶
func MainRouterConfiguration()
Types ¶
type Configuration ¶
func NewGlobalConfiguration ¶
func NewGlobalConfiguration(ConfigurationContext string) Configuration
func NewServiceConfiguration ¶
func NewServiceConfiguration( serviceName, ConfigurationContext string, Log *logger.Logger, ) Configuration
func (Configuration) GetBool ¶
func (this Configuration) GetBool(key string) bool
func (Configuration) GetBoolD ¶
func (this Configuration) GetBoolD(key string, defaultValue bool) (value bool)
func (Configuration) GetInt ¶
func (this Configuration) GetInt(key string) int
func (Configuration) GetInt32 ¶
func (this Configuration) GetInt32(key string) int32
func (Configuration) GetMap ¶
func (this Configuration) GetMap(key string) map[string]interface{}
func (Configuration) GetString ¶
func (this Configuration) GetString(key string) string
func (Configuration) GetStrings ¶
func (this Configuration) GetStrings(key string) []string
func (Configuration) GetUint64 ¶
func (this Configuration) GetUint64(key string) uint64
func (Configuration) IsSensitiveParameter ¶
func (this Configuration) IsSensitiveParameter(parameterName string) bool
func (Configuration) IsSet ¶
func (this Configuration) IsSet(key string) bool
func (Configuration) MaskSensitiveValue ¶
func (this Configuration) MaskSensitiveValue(parameterValue string) string
func (Configuration) ReadConfigValue ¶
func (this Configuration) ReadConfigValue( key string, rf func() string, df func() string, )
type CustomAspect ¶
type CustomAspect struct {
CustomValue int
}
func (*CustomAspect) GetStats ¶
func (a *CustomAspect) GetStats() interface{}
func (*CustomAspect) InRoot ¶
func (a *CustomAspect) InRoot() bool
func (*CustomAspect) Name ¶
func (a *CustomAspect) Name() string
Click to show internal directories.
Click to hide internal directories.