Help us shape the future of Go! Take the 2026 Go Developer Survey

requesttransformer

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddOptions

type AddOptions struct {
	Headers     map[string]string
	Querystring map[string]string
}

type Options

type Options struct {
	Add    AddOptions
	Set    SetOptions
	Remove RemoveOptions
}

type RemoveOptions

type RemoveOptions struct {
	Headers     []string
	Querystring []string
}

type RequestTransFormaterMiddleware

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

func NewMiddleware

func NewMiddleware(opts Options) *RequestTransFormaterMiddleware

func (*RequestTransFormaterMiddleware) ServeHTTP

type SetOptions added in v0.3.0

type SetOptions struct {
	Headers     map[string]string
	Querystring map[string]string
}

Jump to

Keyboard shortcuts

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