protoutils

package
v1.1.0-beta14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GogoMessageToGogoStruct

func GogoMessageToGogoStruct(msg gogoproto.Message) (*gogotypes.Struct, error)

marshal a message to a gogo/protobuf struct

func GogoMessageToGolangStruct

func GogoMessageToGolangStruct(msg gogoproto.Message) (*pstruct.Struct, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL