Documentation
¶
Index ¶
- func FormatProtoText(message protoreflect.ProtoMessage) string
- func ReadDelimitedFrom(msg proto.Message, r io.Reader) error
- func ReadFile(filename string, message protoreflect.ProtoMessage) error
- func WriteDelimitedTo(msg proto.Message, w io.Writer) error
- func WriteFile(filename string, message protoreflect.ProtoMessage) error
- func WritePrettyJSONFile(filename string, message protoreflect.ProtoMessage) error
- func WritePrettyTextFile(filename string, message protoreflect.ProtoMessage) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatProtoText ¶
func FormatProtoText(message protoreflect.ProtoMessage) string
func ReadDelimitedFrom ¶
ReadDelimitedFrom reads a length-delimited protobuf message from a reader
func ReadFile ¶
func ReadFile(filename string, message protoreflect.ProtoMessage) error
func WriteDelimitedTo ¶
WriteDelimitedTo writes a length-delimited protobuf message to a writer
func WriteFile ¶
func WriteFile(filename string, message protoreflect.ProtoMessage) error
func WritePrettyJSONFile ¶
func WritePrettyJSONFile(filename string, message protoreflect.ProtoMessage) error
func WritePrettyTextFile ¶
func WritePrettyTextFile(filename string, message protoreflect.ProtoMessage) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.