config

package
v0.0.0-...-0de1ee4 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HttpAddr   = "http.addr"
	SessionKey = "session.key"
)

Variables

Functions

func NewViper

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

func NewViperWithDefaults

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

Types

type Provider

type Provider interface {
	GetString(key string) string
}

Jump to

Keyboard shortcuts

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