tasks

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2019 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ConnStrKey is the environment variable which must hold the database URL to
	// which we want to connect.
	ConnStrKey = "IOTSTORE_DATABASE_URL"
)

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute is the entrypoint to our root command, called from main.go

func GetFromEnv

func GetFromEnv(key string) (string, error)

GetFromEnv is a simple wrapper around os.Getenv that emits an error if a variable is not present in the environment.

Types

This section is empty.

Jump to

Keyboard shortcuts

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