config

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(Provide)

ProviderSet provides a Viper instance.

Functions

func Build

func Build() *viper.Viper

func Provide

func Provide() *viper.Viper

Provide provides a new Viper instance configured using a configuration file located at /etc/agora, ~/agora, or the same directory the application executable is located. Will panic if there is an error finding or reading this file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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