Documentation ¶
Overview ¶
Package pb is a generated protocol buffer package.
It is generated from these files:
test.proto
It has these top-level messages:
Human Robot Alien
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alien ¶
type Alien struct {
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}
func (*Alien) Descriptor ¶
func (*Alien) ProtoMessage ¶
func (*Alien) ProtoMessage()
type Human ¶
type Human struct {
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}
@inject_field: age int @inject_field: spouse *Human @inject_field: IgnoreMe
func (*Human) Descriptor ¶
func (*Human) ProtoMessage ¶
func (*Human) ProtoMessage()
type Robot ¶
type Robot struct {
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}
@inject_field: model string
func (*Robot) Descriptor ¶
func (*Robot) ProtoMessage ¶
func (*Robot) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.