messages

package
v0.0.0-...-3670367 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package messages is a generated protocol buffer package.

It is generated from these files:

protos.proto

It has these top-level messages:

Connect
Connected
SayRequest
SayResponse
NickRequest
NickResponse

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthProtos = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowProtos   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type Connect

type Connect struct {
	Sender *actor.PID `protobuf:"bytes,1,opt,name=Sender" json:"Sender,omitempty"`
}

func (*Connect) Descriptor

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

func (*Connect) Equal

func (this *Connect) Equal(that interface{}) bool

func (*Connect) GetSender

func (m *Connect) GetSender() *actor.PID

func (*Connect) GoString

func (this *Connect) GoString() string

func (*Connect) Marshal

func (m *Connect) Marshal() (dAtA []byte, err error)

func (*Connect) MarshalTo

func (m *Connect) MarshalTo(dAtA []byte) (int, error)

func (*Connect) ProtoMessage

func (*Connect) ProtoMessage()

func (*Connect) Reset

func (m *Connect) Reset()

func (*Connect) Size

func (m *Connect) Size() (n int)

func (*Connect) String

func (this *Connect) String() string

func (*Connect) Unmarshal

func (m *Connect) Unmarshal(dAtA []byte) error

type Connected

type Connected struct {
	Message string `protobuf:"bytes,1,opt,name=Message,proto3" json:"Message,omitempty"`
}

func (*Connected) Descriptor

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

func (*Connected) Equal

func (this *Connected) Equal(that interface{}) bool

func (*Connected) GoString

func (this *Connected) GoString() string

func (*Connected) Marshal

func (m *Connected) Marshal() (dAtA []byte, err error)

func (*Connected) MarshalTo

func (m *Connected) MarshalTo(dAtA []byte) (int, error)

func (*Connected) ProtoMessage

func (*Connected) ProtoMessage()

func (*Connected) Reset

func (m *Connected) Reset()

func (*Connected) Size

func (m *Connected) Size() (n int)

func (*Connected) String

func (this *Connected) String() string

func (*Connected) Unmarshal

func (m *Connected) Unmarshal(dAtA []byte) error

type NickRequest

type NickRequest struct {
	OldUserName string `protobuf:"bytes,1,opt,name=OldUserName,proto3" json:"OldUserName,omitempty"`
	NewUserName string `protobuf:"bytes,2,opt,name=NewUserName,proto3" json:"NewUserName,omitempty"`
}

func (*NickRequest) Descriptor

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

func (*NickRequest) Equal

func (this *NickRequest) Equal(that interface{}) bool

func (*NickRequest) GoString

func (this *NickRequest) GoString() string

func (*NickRequest) Marshal

func (m *NickRequest) Marshal() (dAtA []byte, err error)

func (*NickRequest) MarshalTo

func (m *NickRequest) MarshalTo(dAtA []byte) (int, error)

func (*NickRequest) ProtoMessage

func (*NickRequest) ProtoMessage()

func (*NickRequest) Reset

func (m *NickRequest) Reset()

func (*NickRequest) Size

func (m *NickRequest) Size() (n int)

func (*NickRequest) String

func (this *NickRequest) String() string

func (*NickRequest) Unmarshal

func (m *NickRequest) Unmarshal(dAtA []byte) error

type NickResponse

type NickResponse struct {
	OldUserName string `protobuf:"bytes,1,opt,name=OldUserName,proto3" json:"OldUserName,omitempty"`
	NewUserName string `protobuf:"bytes,2,opt,name=NewUserName,proto3" json:"NewUserName,omitempty"`
}

func (*NickResponse) Descriptor

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

func (*NickResponse) Equal

func (this *NickResponse) Equal(that interface{}) bool

func (*NickResponse) GoString

func (this *NickResponse) GoString() string

func (*NickResponse) Marshal

func (m *NickResponse) Marshal() (dAtA []byte, err error)

func (*NickResponse) MarshalTo

func (m *NickResponse) MarshalTo(dAtA []byte) (int, error)

func (*NickResponse) ProtoMessage

func (*NickResponse) ProtoMessage()

func (*NickResponse) Reset

func (m *NickResponse) Reset()

func (*NickResponse) Size

func (m *NickResponse) Size() (n int)

func (*NickResponse) String

func (this *NickResponse) String() string

func (*NickResponse) Unmarshal

func (m *NickResponse) Unmarshal(dAtA []byte) error

type SayRequest

type SayRequest struct {
	UserName string `protobuf:"bytes,1,opt,name=UserName,proto3" json:"UserName,omitempty"`
	Message  string `protobuf:"bytes,2,opt,name=Message,proto3" json:"Message,omitempty"`
}

func (*SayRequest) Descriptor

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

func (*SayRequest) Equal

func (this *SayRequest) Equal(that interface{}) bool

func (*SayRequest) GoString

func (this *SayRequest) GoString() string

func (*SayRequest) Marshal

func (m *SayRequest) Marshal() (dAtA []byte, err error)

func (*SayRequest) MarshalTo

func (m *SayRequest) MarshalTo(dAtA []byte) (int, error)

func (*SayRequest) ProtoMessage

func (*SayRequest) ProtoMessage()

func (*SayRequest) Reset

func (m *SayRequest) Reset()

func (*SayRequest) Size

func (m *SayRequest) Size() (n int)

func (*SayRequest) String

func (this *SayRequest) String() string

func (*SayRequest) Unmarshal

func (m *SayRequest) Unmarshal(dAtA []byte) error

type SayResponse

type SayResponse struct {
	UserName string `protobuf:"bytes,1,opt,name=UserName,proto3" json:"UserName,omitempty"`
	Message  string `protobuf:"bytes,2,opt,name=Message,proto3" json:"Message,omitempty"`
}

func (*SayResponse) Descriptor

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

func (*SayResponse) Equal

func (this *SayResponse) Equal(that interface{}) bool

func (*SayResponse) GoString

func (this *SayResponse) GoString() string

func (*SayResponse) Marshal

func (m *SayResponse) Marshal() (dAtA []byte, err error)

func (*SayResponse) MarshalTo

func (m *SayResponse) MarshalTo(dAtA []byte) (int, error)

func (*SayResponse) ProtoMessage

func (*SayResponse) ProtoMessage()

func (*SayResponse) Reset

func (m *SayResponse) Reset()

func (*SayResponse) Size

func (m *SayResponse) Size() (n int)

func (*SayResponse) String

func (this *SayResponse) String() string

func (*SayResponse) Unmarshal

func (m *SayResponse) Unmarshal(dAtA []byte) error

Jump to

Keyboard shortcuts

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