util

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2014 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HTTPClient

func HTTPClient(rootCA string, proxyAddr string) (*http.Client, error)

HTTPClient creates an http.Client. If rootCA is specified, the client will validate the server's certificate on TLS connections against that RootCA. If proxyAddr is specified, the client will proxy through the given http proxy.

Types

This section is empty.

Jump to

Keyboard shortcuts

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