config

package
v0.0.0-...-cbce884 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2020 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfig

type AppConfig struct {
	AppSecret       string
	ReCaptchaSecret string
	IPStackKey      string
	Version         string
	AppHost         string
}

AppConfig contains the application configuration

func (*AppConfig) LoadEnv

func (c *AppConfig) LoadEnv()

LoadEnv loads config values from env vars

func (*AppConfig) LoadSecrets

func (c *AppConfig) LoadSecrets()

LoadSecrets loads secret config values from env vars

Jump to

Keyboard shortcuts

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