Documentation
¶
Index ¶
- func DecodeValues(msg proto.Message, values url.Values) error
- func EncodeField(fieldDescriptor protoreflect.FieldDescriptor, value protoreflect.Value) (string, error)
- func EncodeFieldMask(m protoreflect.Message) (query string)
- func EncodeValues(msg interface{}) (url.Values, error)
- func Marshal(v interface{}) ([]byte, error)
- func Unmarshal(data []byte, v interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeValues ¶
DecodeValues decode url value into proto message.
func EncodeField ¶
func EncodeField(fieldDescriptor protoreflect.FieldDescriptor, value protoreflect.Value) (string, error)
EncodeField encode proto message filed
func EncodeFieldMask ¶
func EncodeFieldMask(m protoreflect.Message) (query string)
EncodeFieldMask return field mask name=paths
func EncodeValues ¶
EncodeValues encode a message into url values.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.