proxy

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: May 29, 2023 License: Apache-2.0 Imports: 43 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Proxy *martian.Proxy

Functions

func Configure added in v0.7.0

func Configure()

func Serve

func Serve(cmd *cobra.Command, args []string)

Serve start the webserver

Types

type ErrorBoundary

type ErrorBoundary struct {
	// contains filtered or unexported fields
}

ErrorBoundary WIP

func NewErrorBoundary

func NewErrorBoundary() *ErrorBoundary

NewErrorBoundary WIP

func (*ErrorBoundary) ModifyRequest

func (eb *ErrorBoundary) ModifyRequest(req *http.Request) error

ModifyRequest WIP

func (*ErrorBoundary) ModifyResponse

func (eb *ErrorBoundary) ModifyResponse(res *http.Response) error

ModifyResponse WIP

func (*ErrorBoundary) SetRequestModifier

func (eb *ErrorBoundary) SetRequestModifier(reqmod martian.RequestModifier)

SetRequestModifier WIP

func (*ErrorBoundary) SetRequestVerifier

func (eb *ErrorBoundary) SetRequestVerifier(reqv verify.RequestVerifier)

SetRequestVerifier WIP

func (*ErrorBoundary) SetResponseModifier

func (eb *ErrorBoundary) SetResponseModifier(resmod martian.ResponseModifier)

SetResponseModifier WIP

func (*ErrorBoundary) SetResponseVerifier

func (eb *ErrorBoundary) SetResponseVerifier(resv verify.ResponseVerifier)

SetResponseVerifier WIP

Jump to

Keyboard shortcuts

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