utils

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewIoReaderError

func NewIoReaderError() io.Reader

func NewTransportStatusOk

func NewTransportStatusOk() *http.Client

Types

type IoReaderError

type IoReaderError struct{}

func (*IoReaderError) Read

func (r *IoReaderError) Read(_ []byte) (int, error)

type TransportStatusErrorIoReader

type TransportStatusErrorIoReader struct {
	Transport http.RoundTripper
}

func (*TransportStatusErrorIoReader) RoundTrip

type TransportStatusOk

type TransportStatusOk struct {
	Transport http.RoundTripper
}

func (*TransportStatusOk) RoundTrip

func (h *TransportStatusOk) RoundTrip(req *http.Request) (*http.Response, error)

Jump to

Keyboard shortcuts

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