Documentation ¶
Overview ¶
Package message is a generated protocol buffer package.
It is generated from these files:
proto/message/message.proto
It has these top-level messages:
Person Hobby
Index ¶
- type Hobby
- type Person
- func (*Person) Descriptor() ([]byte, []int)
- func (p Person) FullName() string
- func (m *Person) GetArgumentsWon() int32
- func (m *Person) GetCool() bool
- func (m *Person) GetDateOfBirth() string
- func (m *Person) GetFirstName() string
- func (m *Person) GetHobbies() []*Hobby
- func (m *Person) GetLastName() string
- func (*Person) ProtoMessage()
- func (m *Person) Reset()
- func (m *Person) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hobby ¶
type Hobby struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` }
func (*Hobby) Descriptor ¶
func (*Hobby) GetDescription ¶
func (*Hobby) ProtoMessage ¶
func (*Hobby) ProtoMessage()
type Person ¶
type Person struct { FirstName string `protobuf:"bytes,1,opt,name=first_name,json=firstName" json:"first_name,omitempty"` LastName string `protobuf:"bytes,2,opt,name=last_name,json=lastName" json:"last_name,omitempty"` DateOfBirth string `protobuf:"bytes,3,opt,name=date_of_birth,json=dateOfBirth" json:"date_of_birth,omitempty"` Cool bool `protobuf:"varint,4,opt,name=cool" json:"cool,omitempty"` ArgumentsWon int32 `protobuf:"varint,5,opt,name=arguments_won,json=argumentsWon" json:"arguments_won,omitempty"` Hobbies []*Hobby `protobuf:"bytes,6,rep,name=hobbies" json:"hobbies,omitempty"` }
func (*Person) Descriptor ¶
func (*Person) GetArgumentsWon ¶
func (*Person) GetDateOfBirth ¶
func (*Person) GetFirstName ¶
func (*Person) GetHobbies ¶
func (*Person) GetLastName ¶
func (*Person) ProtoMessage ¶
func (*Person) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.