Documentation ¶
Index ¶
- func GogoMessageToGogoStruct(msg gogoproto.Message) (*gogotypes.Struct, error)
- func GogoMessageToGolangStruct(msg gogoproto.Message) (*pstruct.Struct, error)
- func GolangMessageToGogoStruct(msg golangproto.Message) (*gogotypes.Struct, error)
- func MessageToAnyWithError(msg golangproto.Message) (*any.Any, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GogoMessageToGogoStruct ¶
marshal a message to a gogo/protobuf struct
func GogoMessageToGolangStruct ¶
marshal a message to golang/protobuf struct
func GolangMessageToGogoStruct ¶
func GolangMessageToGogoStruct(msg golangproto.Message) (*gogotypes.Struct, error)
func MessageToAnyWithError ¶
func MessageToAnyWithError(msg golangproto.Message) (*any.Any, error)
MessageToAnyWithError converts from proto message to proto Any
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.