package
module
Version:
v0.0.4
Opens a new window with list of versions in this module.
Published: Aug 1, 2019
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Golang Mutual CloudFoundry
This library provides a http-Client, which uses the Cloudfoundry Instance Identity Credentials for mutual TLS.
Usage
Like every other http.Client
client, err := mutual.GetClient()
if err != nil {
t.Error(err)
}
res, err := client.Get(ts.URL)
Documentation
¶
View Source
const (
CertLocation = "CF_INSTANCE_CERT"
KeyLocation = "CF_INSTANCE_KEY"
CaLocation = "CF_SYSTEM_CERT_PATH"
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.