requesttranslate

package
v0.0.1-alpha06 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GetQueryToPostFormUTF8 string = "get_query_to_post_form_utf_8"
)

Variables

This section is empty.

Functions

This section is empty.

Types

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 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