Documentation ¶
Overview ¶
Package protoutil adds some helpers that makes using protobuf structures a little easier.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DescriptorOf ¶
func DescriptorOf(msg Described) (*descriptor.DescriptorProto, error)
DescriptorOf returns the descriptor for a given proto message.
func GetFileDescriptor ¶
func GetFileDescriptor(data []byte) (*descriptor.FileDescriptorProto, error)
Types ¶
Directories ¶
Path | Synopsis |
---|---|
Package testprotos provides some proto messages that can be used for tests.
|
Package testprotos provides some proto messages that can be used for tests. |
Click to show internal directories.
Click to hide internal directories.