env

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SpaceWorkingDir      = "SPACE_APP_DIR"
	LogLevel             = "LOG_LEVEL"
	IpfsAddr             = "IPFS_ADDR"
	MongoUsr             = "MONGO_USR"
	MongoPw              = "MONGO_PW"
	MongoHost            = "MONGO_HOST"
	MongoRepSet          = "MONGO_REPLICA_SET"
	ServicesAPIURL       = "SERVICES_API_URL"
	ServicesHubAuthURL   = "SERVICES_HUB_AUTH_URL"
	TextileHubTarget     = "TXL_HUB_TARGET"
	TextileHubMa         = "TXL_HUB_MA"
	TextileThreadsTarget = "TXL_THREADS_TARGET"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type SpaceEnv

type SpaceEnv interface {
	CurrentFolder() (string, error)
	WorkingFolder() string
	LogLevel() string
}

func New

func New() SpaceEnv

Loads environment from .env file for dev mode

func NewDefault

func NewDefault() SpaceEnv

TODO: use this one after figuring textile keys

Jump to

Keyboard shortcuts

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