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 ¶
- Variables
- type Connect
- func (*Connect) Descriptor() ([]byte, []int)
- func (this *Connect) Equal(that interface{}) bool
- func (m *Connect) GetSender() *actor.PID
- func (this *Connect) GoString() string
- func (m *Connect) Marshal() (dAtA []byte, err error)
- func (m *Connect) MarshalTo(dAtA []byte) (int, error)
- func (*Connect) ProtoMessage()
- func (m *Connect) Reset()
- func (m *Connect) Size() (n int)
- func (this *Connect) String() string
- func (m *Connect) Unmarshal(dAtA []byte) error
- type Connected
- func (*Connected) Descriptor() ([]byte, []int)
- func (this *Connected) Equal(that interface{}) bool
- func (m *Connected) GetMessage() string
- func (this *Connected) GoString() string
- func (m *Connected) Marshal() (dAtA []byte, err error)
- func (m *Connected) MarshalTo(dAtA []byte) (int, error)
- func (*Connected) ProtoMessage()
- func (m *Connected) Reset()
- func (m *Connected) Size() (n int)
- func (this *Connected) String() string
- func (m *Connected) Unmarshal(dAtA []byte) error
- type NickRequest
- func (*NickRequest) Descriptor() ([]byte, []int)
- func (this *NickRequest) Equal(that interface{}) bool
- func (m *NickRequest) GetNewUserName() string
- func (m *NickRequest) GetOldUserName() string
- func (this *NickRequest) GoString() string
- func (m *NickRequest) Marshal() (dAtA []byte, err error)
- func (m *NickRequest) MarshalTo(dAtA []byte) (int, error)
- func (*NickRequest) ProtoMessage()
- func (m *NickRequest) Reset()
- func (m *NickRequest) Size() (n int)
- func (this *NickRequest) String() string
- func (m *NickRequest) Unmarshal(dAtA []byte) error
- type NickResponse
- func (*NickResponse) Descriptor() ([]byte, []int)
- func (this *NickResponse) Equal(that interface{}) bool
- func (m *NickResponse) GetNewUserName() string
- func (m *NickResponse) GetOldUserName() string
- func (this *NickResponse) GoString() string
- func (m *NickResponse) Marshal() (dAtA []byte, err error)
- func (m *NickResponse) MarshalTo(dAtA []byte) (int, error)
- func (*NickResponse) ProtoMessage()
- func (m *NickResponse) Reset()
- func (m *NickResponse) Size() (n int)
- func (this *NickResponse) String() string
- func (m *NickResponse) Unmarshal(dAtA []byte) error
- type SayRequest
- func (*SayRequest) Descriptor() ([]byte, []int)
- func (this *SayRequest) Equal(that interface{}) bool
- func (m *SayRequest) GetMessage() string
- func (m *SayRequest) GetUserName() string
- func (this *SayRequest) GoString() string
- func (m *SayRequest) Marshal() (dAtA []byte, err error)
- func (m *SayRequest) MarshalTo(dAtA []byte) (int, error)
- func (*SayRequest) ProtoMessage()
- func (m *SayRequest) Reset()
- func (m *SayRequest) Size() (n int)
- func (this *SayRequest) String() string
- func (m *SayRequest) Unmarshal(dAtA []byte) error
- type SayResponse
- func (*SayResponse) Descriptor() ([]byte, []int)
- func (this *SayResponse) Equal(that interface{}) bool
- func (m *SayResponse) GetMessage() string
- func (m *SayResponse) GetUserName() string
- func (this *SayResponse) GoString() string
- func (m *SayResponse) Marshal() (dAtA []byte, err error)
- func (m *SayResponse) MarshalTo(dAtA []byte) (int, error)
- func (*SayResponse) ProtoMessage()
- func (m *SayResponse) Reset()
- func (m *SayResponse) Size() (n int)
- func (this *SayResponse) String() string
- func (m *SayResponse) Unmarshal(dAtA []byte) error
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) ProtoMessage ¶
func (*Connect) ProtoMessage()
type Connected ¶
type Connected struct {
Message string `protobuf:"bytes,1,opt,name=Message,proto3" json:"Message,omitempty"`
}
func (*Connected) Descriptor ¶
func (*Connected) GetMessage ¶
func (*Connected) ProtoMessage ¶
func (*Connected) ProtoMessage()
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) GetNewUserName ¶
func (m *NickRequest) GetNewUserName() string
func (*NickRequest) GetOldUserName ¶
func (m *NickRequest) GetOldUserName() string
func (*NickRequest) GoString ¶
func (this *NickRequest) GoString() string
func (*NickRequest) Marshal ¶
func (m *NickRequest) Marshal() (dAtA []byte, err 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) GetNewUserName ¶
func (m *NickResponse) GetNewUserName() string
func (*NickResponse) GetOldUserName ¶
func (m *NickResponse) GetOldUserName() string
func (*NickResponse) GoString ¶
func (this *NickResponse) GoString() string
func (*NickResponse) Marshal ¶
func (m *NickResponse) Marshal() (dAtA []byte, err 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) GetMessage ¶
func (m *SayRequest) GetMessage() string
func (*SayRequest) GetUserName ¶
func (m *SayRequest) GetUserName() string
func (*SayRequest) GoString ¶
func (this *SayRequest) GoString() string
func (*SayRequest) Marshal ¶
func (m *SayRequest) Marshal() (dAtA []byte, err 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) GetMessage ¶
func (m *SayResponse) GetMessage() string
func (*SayResponse) GetUserName ¶
func (m *SayResponse) GetUserName() string
func (*SayResponse) GoString ¶
func (this *SayResponse) GoString() string
func (*SayResponse) Marshal ¶
func (m *SayResponse) Marshal() (dAtA []byte, err 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
Click to show internal directories.
Click to hide internal directories.