testutil

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeTestGIF

func MakeTestGIF() []byte

func WithTransport

func WithTransport(t *testing.T, rt http.RoundTripper, fn func())

Types

type FakeTransport

type FakeTransport struct {
	GIFData []byte
}

func (*FakeTransport) RoundTrip

func (t *FakeTransport) 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