form

package
v2.7.2 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: MIT Imports: 20 Imported by: 6

Documentation

Index

Constants

View Source
const (
	// Name is form codec name
	Name = "x-www-form-urlencoded"
)

Variables

This section is empty.

Functions

func DecodeValues added in v2.1.4

func DecodeValues(msg proto.Message, values url.Values) error

DecodeValues decode url value into proto message.

func EncodeField added in v2.1.1

func EncodeField(fieldDescriptor protoreflect.FieldDescriptor, value protoreflect.Value) (string, error)

EncodeField encode proto message filed

func EncodeFieldMask added in v2.4.0

func EncodeFieldMask(m protoreflect.Message) (query string)

EncodeFieldMask return field mask name=paths

func EncodeValues added in v2.1.4

func EncodeValues(msg interface{}) (url.Values, error)

EncodeValues encode a message into url values.

Types

This section is empty.

Jump to

Keyboard shortcuts

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