fetch

package
v1.1.8 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2018 License: MIT Imports: 14 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ApiVersion = 1
View Source
var BackupDefaultHost = "s3-eu-west-1.amazonaws.com/envkey-backup/envs"
View Source
var DefaultHost = "env.envkey.com"
View Source
var HttpGetter = myhttp.New(time.Second * 2)

Functions

func Fetch

func Fetch(envkey string, options FetchOptions) string

Types

type FetchOptions

type FetchOptions struct {
	ShouldCache    bool
	CacheDir       string
	ClientName     string
	ClientVersion  string
	VerboseOutput  bool
	TimeoutSeconds float64
}

Jump to

Keyboard shortcuts

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