skip

package
v3.0.0-...-fed3b74 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package skip provides a request modifier to skip the HTTP round-trip.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RoundTrip

type RoundTrip struct{}

RoundTrip is a modifier that skips the request round-trip.

func NewRoundTrip

func NewRoundTrip() *RoundTrip

NewRoundTrip returns a new modifier that skips round-trip.

func (*RoundTrip) ModifyRequest

func (r *RoundTrip) ModifyRequest(req *http.Request) error

ModifyRequest skips the request round-trip.

Jump to

Keyboard shortcuts

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