env

package
v0.0.0-...-0057081 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	CoinMineAPIKey    string `env:"COINMINE_API_KEY"`
	MiningDutchAPIKey string `env:"MININGDUTCH_API_KEY"`
	LbrycrdURL        string `env:"LBRYCRD_CONNECT" envDefault:""`
	SlackHookURL      string `env:"SLACKHOOKURL"`
	SlackChannel      string `env:"SLACKCHANNEL"`
}

Config holds the environment configuration used by lighthouse.

func NewWithEnvVars

func NewWithEnvVars() (*Config, error)

NewWithEnvVars creates an Config from environment variables

Jump to

Keyboard shortcuts

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