friend

package
v0.0.0-...-0523e7d Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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 (*FriendRequestReceivedMessage) ProtoMessage

func (*FriendRequestReceivedMessage) ProtoMessage()

func (*FriendRequestReceivedMessage) ProtoReflect

func (*FriendRequestReceivedMessage) Reset

func (x *FriendRequestReceivedMessage) Reset()

func (*FriendRequestReceivedMessage) String

Jump to

Keyboard shortcuts

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