roundtrip

package
v0.0.0-...-fc405d0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomTransport

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

func New

func New() *CustomTransport

func (*CustomTransport) Clear

func (ct *CustomTransport) Clear()

func (*CustomTransport) Get

func (ct *CustomTransport) Get(r *http.Request) (*bytes.Buffer, error)

func (*CustomTransport) RoundTrip

func (ct *CustomTransport) RoundTrip(r *http.Request) (*http.Response, error)

func (*CustomTransport) Set

func (ct *CustomTransport) Set(r *http.Request, buf []byte)

Jump to

Keyboard shortcuts

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