proto

package
v0.0.0-...-ba645fd Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2019 License: MIT Imports: 3 Imported by: 0

README

protoc pkg/chatroom/proto/chatroom.proto --go_out=plugins=grpc:.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChatroomCommand

type ChatroomCommand struct {
	RoomID               string   `protobuf:"bytes,1,opt,name=RoomID,proto3" json:"RoomID,omitempty"`
	SenderID             string   `protobuf:"bytes,2,opt,name=SenderID,proto3" json:"SenderID,omitempty"`
	SenderFirstName      string   `protobuf:"bytes,3,opt,name=SenderFirstName,proto3" json:"SenderFirstName,omitempty"`
	SenderLastName       string   `protobuf:"bytes,4,opt,name=SenderLastName,proto3" json:"SenderLastName,omitempty"`
	Data                 []byte   `protobuf:"bytes,5,opt,name=Data,proto3" json:"Data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChatroomCommand) Descriptor

func (*ChatroomCommand) Descriptor() ([]byte, []int)

func (*ChatroomCommand) GetData

func (m *ChatroomCommand) GetData() []byte

func (*ChatroomCommand) GetRoomID

func (m *ChatroomCommand) GetRoomID() string

func (*ChatroomCommand) GetSenderFirstName

func (m *ChatroomCommand) GetSenderFirstName() string

func (*ChatroomCommand) GetSenderID

func (m *ChatroomCommand) GetSenderID() string

func (*ChatroomCommand) GetSenderLastName

func (m *ChatroomCommand) GetSenderLastName() string

func (*ChatroomCommand) ProtoMessage

func (*ChatroomCommand) ProtoMessage()

func (*ChatroomCommand) Reset

func (m *ChatroomCommand) Reset()

func (*ChatroomCommand) String

func (m *ChatroomCommand) String() string

func (*ChatroomCommand) XXX_DiscardUnknown

func (m *ChatroomCommand) XXX_DiscardUnknown()

func (*ChatroomCommand) XXX_Marshal

func (m *ChatroomCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChatroomCommand) XXX_Merge

func (dst *ChatroomCommand) XXX_Merge(src proto.Message)

func (*ChatroomCommand) XXX_Size

func (m *ChatroomCommand) XXX_Size() int

func (*ChatroomCommand) XXX_Unmarshal

func (m *ChatroomCommand) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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