Documentation ¶
Index ¶
- Variables
- type FriendAddedMessage
- func (*FriendAddedMessage) Descriptor() ([]byte, []int)deprecated
- func (x *FriendAddedMessage) GetRequest() *friend.FriendRequest
- func (*FriendAddedMessage) ProtoMessage()
- func (x *FriendAddedMessage) ProtoReflect() protoreflect.Message
- func (x *FriendAddedMessage) Reset()
- func (x *FriendAddedMessage) String() string
- type FriendRemovedMessage
- func (*FriendRemovedMessage) Descriptor() ([]byte, []int)deprecated
- func (x *FriendRemovedMessage) GetRecipientId() string
- func (x *FriendRemovedMessage) GetSenderId() string
- func (*FriendRemovedMessage) ProtoMessage()
- func (x *FriendRemovedMessage) ProtoReflect() protoreflect.Message
- func (x *FriendRemovedMessage) Reset()
- func (x *FriendRemovedMessage) String() string
- type FriendRequestReceivedMessage
- func (*FriendRequestReceivedMessage) Descriptor() ([]byte, []int)deprecated
- func (x *FriendRequestReceivedMessage) GetRequest() *friend.FriendRequest
- func (*FriendRequestReceivedMessage) ProtoMessage()
- func (x *FriendRequestReceivedMessage) ProtoReflect() protoreflect.Message
- func (x *FriendRequestReceivedMessage) Reset()
- func (x *FriendRequestReceivedMessage) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_friend_messages_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type FriendAddedMessage ¶
type FriendAddedMessage struct { // The request that was accepted to add the friend Request *friend.FriendRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` // contains filtered or unexported fields }
Called when a friend request is accepted
func (*FriendAddedMessage) Descriptor
deprecated
func (*FriendAddedMessage) Descriptor() ([]byte, []int)
Deprecated: Use FriendAddedMessage.ProtoReflect.Descriptor instead.
func (*FriendAddedMessage) GetRequest ¶
func (x *FriendAddedMessage) GetRequest() *friend.FriendRequest
func (*FriendAddedMessage) ProtoMessage ¶
func (*FriendAddedMessage) ProtoMessage()
func (*FriendAddedMessage) ProtoReflect ¶
func (x *FriendAddedMessage) ProtoReflect() protoreflect.Message
func (*FriendAddedMessage) Reset ¶
func (x *FriendAddedMessage) Reset()
func (*FriendAddedMessage) String ¶
func (x *FriendAddedMessage) String() string
type FriendRemovedMessage ¶
type FriendRemovedMessage struct { SenderId string `protobuf:"bytes,1,opt,name=sender_id,json=senderId,proto3" json:"sender_id,omitempty"` RecipientId string `protobuf:"bytes,2,opt,name=recipient_id,json=recipientId,proto3" json:"recipient_id,omitempty"` // contains filtered or unexported fields }
func (*FriendRemovedMessage) Descriptor
deprecated
func (*FriendRemovedMessage) Descriptor() ([]byte, []int)
Deprecated: Use FriendRemovedMessage.ProtoReflect.Descriptor instead.
func (*FriendRemovedMessage) GetRecipientId ¶
func (x *FriendRemovedMessage) GetRecipientId() string
func (*FriendRemovedMessage) GetSenderId ¶
func (x *FriendRemovedMessage) GetSenderId() string
func (*FriendRemovedMessage) ProtoMessage ¶
func (*FriendRemovedMessage) ProtoMessage()
func (*FriendRemovedMessage) ProtoReflect ¶
func (x *FriendRemovedMessage) ProtoReflect() protoreflect.Message
func (*FriendRemovedMessage) Reset ¶
func (x *FriendRemovedMessage) Reset()
func (*FriendRemovedMessage) String ¶
func (x *FriendRemovedMessage) String() string
type FriendRequestReceivedMessage ¶
type FriendRequestReceivedMessage struct { Request *friend.FriendRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` // contains filtered or unexported fields }
func (*FriendRequestReceivedMessage) Descriptor
deprecated
func (*FriendRequestReceivedMessage) Descriptor() ([]byte, []int)
Deprecated: Use FriendRequestReceivedMessage.ProtoReflect.Descriptor instead.
func (*FriendRequestReceivedMessage) GetRequest ¶
func (x *FriendRequestReceivedMessage) GetRequest() *friend.FriendRequest
func (*FriendRequestReceivedMessage) ProtoMessage ¶
func (*FriendRequestReceivedMessage) ProtoMessage()
func (*FriendRequestReceivedMessage) ProtoReflect ¶
func (x *FriendRequestReceivedMessage) ProtoReflect() protoreflect.Message
func (*FriendRequestReceivedMessage) Reset ¶
func (x *FriendRequestReceivedMessage) Reset()
func (*FriendRequestReceivedMessage) String ¶
func (x *FriendRequestReceivedMessage) String() string
Click to show internal directories.
Click to hide internal directories.