requesttranslate

package
v0.0.2-alpha17 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GetQueryToPostFormUTF8     string = "get_query_to_post_form_utf_8"
	DropDoubleUnderscoreParams string = "drop_double_underscore_params"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DropDoubleUnderscoreParamsTranslator

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

func (*DropDoubleUnderscoreParamsTranslator) Translate

type GetQueryToPostFormEncodedTranslator

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

func (*GetQueryToPostFormEncodedTranslator) Translate

type NilTranslator

type NilTranslator struct {
}

func (*NilTranslator) Translate

func (gp *NilTranslator) Translate(req *http.Request) (*http.Request, error)

type RequestTranslator

type RequestTranslator interface {
	Translate(*http.Request) (*http.Request, error)
}

func NewDropDoubleUnderscoreParamsTranslator

func NewDropDoubleUnderscoreParamsTranslator(byteEncoding string) RequestTranslator

func NewGetQueryToPostFormEncodedTranslator

func NewGetQueryToPostFormEncodedTranslator(byteEncoding string) RequestTranslator

func NewNilTranslator

func NewNilTranslator() RequestTranslator

func NewRequestTranslator

func NewRequestTranslator(algorithm string) (RequestTranslator, error)

Jump to

Keyboard shortcuts

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