test

package
v0.0.0-...-0682c63 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecompressAndDeserializeCache

func DecompressAndDeserializeCache(inputFile string) (map[string][]byte, error)

Types

type TestTransport

type TestTransport struct {
	Transport http.RoundTripper
	CacheDir  string
	// contains filtered or unexported fields
}

func NewTestTransport

func NewTestTransport(transport http.RoundTripper, cacheDir, cacheArchivePath string) (*TestTransport, error)

func (*TestTransport) RoundTrip

func (t *TestTransport) RoundTrip(req *http.Request) (*http.Response, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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