config

package
v0.0.0-...-afaedbc Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version   = "undefined"
	BuildTime = "undefined"
	GitHash   = "undefined"
	Started   = time.Now()
)
View Source
var RawEnv struct {
	Mode string `arg:"env"`
	Port string `arg:"env"`
}

Functions

This section is empty.

Types

type Environment

type Environment struct {
	Mode string
	Port string
}

func GetEnvironment

func GetEnvironment() Environment

type Flag

type Flag struct {
	Version   string
	BuildTime string
	GitHash   string
	Started   string
}

func GetFlag

func GetFlag() Flag

Jump to

Keyboard shortcuts

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