Versions in this module Expand all Collapse all v0 v0.0.2 May 25, 2024 Changes in this version + func DecodeValues(msg proto.Message, values url.Values) error + func EncodeField(fieldDescriptor protoreflect.FieldDescriptor, value protoreflect.Value, ...) (string, error) + func EncodeFieldMask(m protoreflect.Message, useProtoNames bool) (query string) + func EncodeValues(msg proto.Message, useProtoNames, useEnumNumbers bool) (url.Values, error) + type Codec struct + Decoder *form.Decoder + Encoder *form.Encoder + TagName string + UseEnumNumbers bool + UseProtoNames bool + func New(tagName string) *Codec + func (*Codec) ContentType(_ any) string + func (c *Codec) Decode(vs url.Values, v any) error + func (c *Codec) DisableUseEnumNumbers() *Codec + func (c *Codec) DisableUseProtoNames() *Codec + func (c *Codec) Encode(v any) (url.Values, error) + func (c *Codec) EncodeFieldMask(m protoreflect.Message) string + func (c *Codec) EncodeURL(pathTemplate string, v any, needQuery bool) string + func (c *Codec) Marshal(v any) ([]byte, error) + func (c *Codec) NewDecoder(r io.Reader) codec.Decoder + func (c *Codec) NewEncoder(w io.Writer) codec.Encoder + func (c *Codec) Unmarshal(data []byte, v any) error + type MultipartCodec struct + func (*MultipartCodec) ContentType(_ any) string + type QueryCodec struct + func (*QueryCodec) ContentType(_ any) string + type UriCodec struct + func (*UriCodec) ContentType(_ any) string