Documentation ¶
Overview ¶
Package messages is a generated protocol buffer package.
It is generated from these files:
examples/chat/messages/chat.proto
It has these top-level messages:
ChatMessage
Index ¶
- Variables
- type ChatMessage
- func (*ChatMessage) Descriptor() ([]byte, []int)
- func (this *ChatMessage) Equal(that interface{}) bool
- func (m *ChatMessage) GetMessage() string
- func (this *ChatMessage) GoString() string
- func (m *ChatMessage) Marshal() (dAtA []byte, err error)
- func (m *ChatMessage) MarshalTo(dAtA []byte) (int, error)
- func (*ChatMessage) ProtoMessage()
- func (m *ChatMessage) Reset()
- func (m *ChatMessage) Size() (n int)
- func (this *ChatMessage) String() string
- func (m *ChatMessage) Unmarshal(dAtA []byte) error
- func (this *ChatMessage) VerboseEqual(that interface{}) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthChat = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowChat = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type ChatMessage ¶
type ChatMessage struct {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
}
func NewPopulatedChatMessage ¶
func NewPopulatedChatMessage(r randyChat, easy bool) *ChatMessage
func (*ChatMessage) Descriptor ¶
func (*ChatMessage) Descriptor() ([]byte, []int)
func (*ChatMessage) Equal ¶
func (this *ChatMessage) Equal(that interface{}) bool
func (*ChatMessage) GetMessage ¶
func (m *ChatMessage) GetMessage() string
func (*ChatMessage) GoString ¶
func (this *ChatMessage) GoString() string
func (*ChatMessage) Marshal ¶
func (m *ChatMessage) Marshal() (dAtA []byte, err error)
func (*ChatMessage) ProtoMessage ¶
func (*ChatMessage) ProtoMessage()
func (*ChatMessage) Reset ¶
func (m *ChatMessage) Reset()
func (*ChatMessage) Size ¶
func (m *ChatMessage) Size() (n int)
func (*ChatMessage) String ¶
func (this *ChatMessage) String() string
func (*ChatMessage) Unmarshal ¶
func (m *ChatMessage) Unmarshal(dAtA []byte) error
func (*ChatMessage) VerboseEqual ¶
func (this *ChatMessage) VerboseEqual(that interface{}) error
Click to show internal directories.
Click to hide internal directories.