skip

package
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2018 License: Apache-2.0 Imports: 4 Imported by: 45

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