skip

package
v3.3.36 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 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