Documentation ¶
Index ¶
- func Equal(one proto.Message, two proto.Message) bool
- func MarshalJSON(message proto.Message) ([]byte, error)
- func MarshalJSONIndent(message proto.Message) ([]byte, error)
- func MarshalJSONOrigName(message proto.Message) ([]byte, error)
- func MarshalText(message proto.Message) ([]byte, error)
- func MarshalWire(message proto.Message) ([]byte, error)
- func MarshalWireDeterministic(message proto.Message) ([]byte, error)
- func UnmarshalJSON(data []byte, message proto.Message) error
- func UnmarshalWire(data []byte, message proto.Message) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalJSON ¶
MarshalJSON marshals the message to JSON format.
func MarshalJSONIndent ¶
MarshalJSONIndent marshals the message to JSON format with indents.
func MarshalJSONOrigName ¶ added in v0.10.0
MarshalJSONOrigName marshals the message to JSON format with original .proto names as keys.
func MarshalText ¶
MarshalText marshals the message to text format.
func MarshalWire ¶
MarshalWire marshals the message to wire format.
func MarshalWireDeterministic ¶ added in v0.9.0
MarshalWireDeterministic marshals the message to wire format deterministically.
func UnmarshalJSON ¶
UnmarshalJSON unmarshals the message from JSON format.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.