tasks

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2018 License: AGPL-3.0 Imports: 12 Imported by: 2

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