environment

package
v0.0.0-...-df6c08f Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2015 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Frequency

func Frequency() uint64

func GetEnvValue

func GetEnvValue(name string) (string, error)

func Host

func Host() string

func Init

func Init()

func IntServiceURL

func IntServiceURL() string

func Port

func Port() string

func URL

func URL() string

Types

type Environment

type Environment struct {
	Port          string `json:"-"`
	Host          string `json:"-"`
	Frequency     uint64 `json:"-"`
	URL           string `json:"URL"`
	IntServiceURL string `json:"-"`
}
var DefaultEnvironment Environment

func (*Environment) Init

func (e *Environment) Init()

Jump to

Keyboard shortcuts

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