binding

package
v2.1.6 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindForm

func BindForm(req *http.Request, target interface{}) error

BindForm bind form parameters to target.

func BindQuery

func BindQuery(vars url.Values, target interface{}) error

BindQuery bind vars parameters to target.

func EncodeURL

func EncodeURL(pathTemplate string, msg proto.Message, needQuery bool) string

EncodeURL encode proto message to url path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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