configs

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	*simple.Config
}

Config wrapper for Viper (exposed to all project's packages)

func InitConfig

func InitConfig(zlog *zap.Logger) *Config

InitConfig initializes the configuration for the service

func (Config) GetStringValue

func (c Config) GetStringValue(key string) string

GetStringValue returns the string value of the given configuration key

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL