Documentation ¶
Index ¶
- Variables
- func Fetch(envkey string, options FetchOptions) (string, error)
- func FetchMap(envkey string, options FetchOptions) (parser.EnvMap, error)
- func GetHost(envkeyHost string) string
- func InitClient(timeoutSeconds float64)
- func SplitEnvkey(envkey string) (string, string, string)
- func UrlWithLoggingParams(baseUrl string, options FetchOptions) string
- type FailoverResponse
- type FetchOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var Client *http.Client
View Source
var DefaultClientName = "fetch"
View Source
var DefaultHost = "api-v2.envkey.com"
View Source
var FetchServiceVersion = 2
View Source
var NumFailovers = 2
View Source
var UpdateTrustedRootActionType = "envkey/api/ENVKEY_FETCH_UPDATE_TRUSTED_ROOT_PUBKEY"
View Source
var UpdateTrustedRootLoggableType = "authAction"
Functions ¶
func InitClient ¶
func InitClient(timeoutSeconds float64)
func UrlWithLoggingParams ¶
func UrlWithLoggingParams(baseUrl string, options FetchOptions) string
Types ¶
type FailoverResponse ¶
type FailoverResponse struct {
SignedUrl string `json:"signedUrl"`
}
Click to show internal directories.
Click to hide internal directories.