network

package
v0.0.0-...-0e59c02 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OAuthClient

type OAuthClient struct {
	// contains filtered or unexported fields
}

func NewOAuthClient

func NewOAuthClient(target, username, password string, clientID, clientSecret string, insecureSkipVerify bool, includeCookies bool, requestTimeout time.Duration) (OAuthClient, error)

func (OAuthClient) Do

func (oc OAuthClient) Do(request *http.Request) (*http.Response, error)

type TraceClient

type TraceClient struct {
	// contains filtered or unexported fields
}

func NewTraceClient

func NewTraceClient(client httpClient, writer io.Writer) *TraceClient

func (*TraceClient) Do

func (c *TraceClient) Do(request *http.Request) (*http.Response, error)

type UnauthenticatedClient

type UnauthenticatedClient struct {
	// contains filtered or unexported fields
}

func NewUnauthenticatedClient

func NewUnauthenticatedClient(target string, insecureSkipVerify bool, requestTimeout time.Duration) UnauthenticatedClient

func (UnauthenticatedClient) Do

func (c UnauthenticatedClient) Do(request *http.Request) (*http.Response, error)

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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