messages

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2019 License: MIT Imports: 7 Imported by: 0

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

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) MarshalTo

func (m *ChatMessage) MarshalTo(dAtA []byte) (int, 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL