env

package
v0.0.0-...-f501dc8 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2022 License: MIT Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(filepath string)

Types

type Variable

type Variable int
const (
	CoinbaseProURL Variable
	CoinbaseProAccessPassphrase
	CoinbaseProAccessKey
	CoinbaseProSecret
	IEXURL
	IEXKey
	IEXSecret
	KrakenURL
	KrakenKey
	KrakenSecret
)

func (Variable) Get

func (variable Variable) Get() string

Get will return the environment variable for a variable-type constant as a string.

func (Variable) Name

func (variable Variable) Name() string

Name will return the variable name of the env variable.

Jump to

Keyboard shortcuts

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