package skip

import "github.com/google/martian/v3/skip"

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

Index

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.

Source Files

skip.go

Version
v3.2.1
Published
May 19, 2021
Platform
windows/amd64
Imports
4 packages
Last checked
1 hour ago

Tools for package owners.