cfhttp

package module
v0.0.0-...-9f848b8 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2016 License: Apache-2.0 Imports: 10 Imported by: 0

README

cfhttp

Note: This repository should be imported as code.cloudfoundry.org/cfhttp.

Wrapper for official go http package

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Initialize

func Initialize(timeout time.Duration)

func NewClient

func NewClient() *http.Client

func NewCustomTimeoutClient

func NewCustomTimeoutClient(customTimeout time.Duration) *http.Client

func NewStreamingClient

func NewStreamingClient() *http.Client

func NewTLSConfig

func NewTLSConfig(certFile, keyFile, caCertFile string) (*tls.Config, error)

func NewUnixClient

func NewUnixClient(socketPath string) *http.Client

Types

type Config

type Config struct {
	Timeout time.Duration
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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