config

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigPath string = "app.yaml"

Functions

func GetConfig

func GetConfig(key string) interface{}

func GetConfigAsString added in v0.1.6

func GetConfigAsString(key string) string

func LoadConfig

func LoadConfig()

Types

type Config

type Config struct {
	RegistrationEnabled bool `mapstructure:"REGISTRATION_ENABLED"`
}

Jump to

Keyboard shortcuts

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