Documentation ¶
Index ¶
- func NewBytesReadCloser(content []byte) io.ReadCloser
- func NewMutualTLSClient(identity tls.Certificate, caCertPool *x509.CertPool, serverName string) *http.Client
- func NewStringReadCloser(content string) io.ReadCloser
- func ReadAndClose(body io.ReadCloser) ([]byte, error)
- type Client
- type RequestRetryable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBytesReadCloser ¶
func NewBytesReadCloser(content []byte) io.ReadCloser
func NewMutualTLSClient ¶
func NewStringReadCloser ¶
func NewStringReadCloser(content string) io.ReadCloser
func ReadAndClose ¶
func ReadAndClose(body io.ReadCloser) ([]byte, error)
Types ¶
type Client ¶
type RequestRetryable ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.