env

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Env

type Env struct {
	// contains filtered or unexported fields
}

func New

func New(base string) *Env

func (*Env) APIGet

func (e *Env) APIGet(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

func (*Env) AddRoutes

func (e *Env) AddRoutes(r *httprouter.Router)

type EnvStatus

type EnvStatus struct {
	CommandLine []string          `json:"commandLine"`
	Env         map[string]string `json:"env"`
}

EnvStatus is returned from a GET to this API endpoing

Jump to

Keyboard shortcuts

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