Documentation ¶
Index ¶
- func BufToProto(r io.Reader, msg proto.Message) error
- func Contains[T proto.Message](collection []T, element T) bool
- func NewStruct() *structpb.Struct
- func ProtoToBuf(w io.Writer, msg proto.Message) error
- func ProtoToStr(msg proto.Message) string
- func UnmarshalNext(d *json.Decoder, m proto.Message) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BufToProto ¶
BufToProto, unmarshal buffer to proto message instance.
func ProtoToBuf ¶
ProtoToBuf, marshal proto message to buffer.
func ProtoToStr ¶
ProtoToStr, marshal proto message to string representation.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.