provider

package
v2.4.2+incompatible Latest Latest
Warning

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

Go to latest
Published: May 10, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefaultTransport

func NewDefaultTransport(skipVerify bool) *http.Transport

NewDefaultTransport configure a transport with the TLS skip verify option

Types

type HTTPClient

type HTTPClient struct {
	http.Client
}

HTTPClient saml2aws http client which extends the existing client

func NewHTTPClient

func NewHTTPClient(tr http.RoundTripper) (*HTTPClient, error)

NewHTTPClient configure the default http client used by the providers

func (*HTTPClient) DisableFollowRedirect

func (hc *HTTPClient) DisableFollowRedirect()

DisableFollowRedirect disable redirects

func (*HTTPClient) Do

func (hc *HTTPClient) Do(req *http.Request) (*http.Response, error)

Do do the request

func (*HTTPClient) EnableFollowRedirect

func (hc *HTTPClient) EnableFollowRedirect()

EnableFollowRedirect enable redirects

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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