config

package
v0.0.0-...-c9859a8 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultValues = fx.Invoke(SetConfigDefaults)

DefaultValues set dafault config values in DI container

Module gives config params from file, env and flags

Functions

func NewConfig

func NewConfig() (*viper.Viper, error)

NewConfig gives new predefined config provider

func SetConfigDefaults

func SetConfigDefaults(config *viper.Viper)

SetConfigDefaults define default values for app config

Types

This section is empty.

Jump to

Keyboard shortcuts

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