Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigHelper ¶
type ConfigHelper struct {
// contains filtered or unexported fields
}
func NewConfigHelper ¶
func NewConfigHelper(logger logging.Logger, conf *viper.Viper) *ConfigHelper
func (*ConfigHelper) ResolveIntConfig ¶
func (*ConfigHelper) ResolveStringConfig ¶
func (c *ConfigHelper) ResolveStringConfig(ctx context.Context, def, key string) string
func (*ConfigHelper) ValidateRampConfig ¶
func (c *ConfigHelper) ValidateRampConfig(ctx context.Context, min, max, steps int) bool
Click to show internal directories.
Click to hide internal directories.