Documentation
¶
Overview ¶
Package protobuf is a generated protocol buffer package.
It is generated from these files:
sample.proto
It has these top-level messages:
Person
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Person ¶
type Person struct {
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Age *int32 `protobuf:"varint,2,opt,name=age" json:"age,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*Person) Descriptor ¶
func (*Person) ProtoMessage ¶
func (*Person) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.