tunnel

package module
v0.0.0-...-16f15bb Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RequestHandler

type RequestHandler struct {
	RoundTripper http.RoundTripper
}

func NewRequestHandler

func NewRequestHandler(rt http.RoundTripper) *RequestHandler

func (RequestHandler) ServeHTTP

func (rh RequestHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type RoundTripperFunc

type RoundTripperFunc func(*http.Request) (*http.Response, error)

func (RoundTripperFunc) RoundTrip

func (fn RoundTripperFunc) RoundTrip(r *http.Request) (*http.Response, error)

Directories

Path Synopsis
cmd
pkg
usr/local/go/bin/go run $0 "$@"; exit $?;
usr/local/go/bin/go run $0 "$@"; exit $?;

Jump to

Keyboard shortcuts

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