service

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChatServiceWebsocket added in v0.7.0

type ChatServiceWebsocket struct {
	ConfigRepository  repository.ConfigRepository
	TokenRepository   repository.TokenRepository
	ConnectionManager connectionutils.ConnectionManager
}

func (*ChatServiceWebsocket) GetPersonalChatHistory added in v0.7.0

func (s *ChatServiceWebsocket) GetPersonalChatHistory(friendID string) error

func (*ChatServiceWebsocket) JoinDefaultChannel added in v0.7.0

func (s *ChatServiceWebsocket) JoinDefaultChannel() error

func (*ChatServiceWebsocket) SendChannelChat added in v0.7.0

func (s *ChatServiceWebsocket) SendChannelChat(channelSlug, payload string) error

func (*ChatServiceWebsocket) SendPartyChat added in v0.7.0

func (s *ChatServiceWebsocket) SendPartyChat(content string) error

func (*ChatServiceWebsocket) SendPersonalChat added in v0.7.0

func (s *ChatServiceWebsocket) SendPersonalChat(friendID, content string) error

type DSServiceWebsocket added in v0.7.0

type DSServiceWebsocket struct {
	ConfigRepository  repository.ConfigRepository
	TokenRepository   repository.TokenRepository
	ConnectionManager connectionutils.ConnectionManager
}

func (*DSServiceWebsocket) CreateDS added in v0.7.0

func (dsService *DSServiceWebsocket) CreateDS(matchID, gameMode, dsName, clientVersion, region, deployment string) error

type FriendServiceWebsocket

type FriendServiceWebsocket struct {
	ConfigRepository  repository.ConfigRepository
	TokenRepository   repository.TokenRepository
	ConnectionManager connectionutils.ConnectionManager
}

func (*FriendServiceWebsocket) AcceptFriendRequest

func (friendService *FriendServiceWebsocket) AcceptFriendRequest(friendID string) error

func (*FriendServiceWebsocket) Block

func (friendService *FriendServiceWebsocket) Block(namespace, userID, blockedUserID string) error

func (*FriendServiceWebsocket) CancelFriendRequest

func (friendService *FriendServiceWebsocket) CancelFriendRequest(friendID string) error

func (*FriendServiceWebsocket) GetFriendPresenceStatus

func (friendService *FriendServiceWebsocket) GetFriendPresenceStatus() error

func (*FriendServiceWebsocket) GetFriends

func (friendService *FriendServiceWebsocket) GetFriends() error

func (*FriendServiceWebsocket) GetFriendshipStatus

func (friendService *FriendServiceWebsocket) GetFriendshipStatus(friendID string) error

func (*FriendServiceWebsocket) GetIncomingFriendRequest

func (friendService *FriendServiceWebsocket) GetIncomingFriendRequest() error

func (*FriendServiceWebsocket) GetOutgoingFriendRequest

func (friendService *FriendServiceWebsocket) GetOutgoingFriendRequest() error

func (*FriendServiceWebsocket) RejectFriendRequest

func (friendService *FriendServiceWebsocket) RejectFriendRequest(friendID string) error

func (*FriendServiceWebsocket) RequestFriend

func (friendService *FriendServiceWebsocket) RequestFriend(friendID string) error

func (*FriendServiceWebsocket) SetUserStatus

func (friendService *FriendServiceWebsocket) SetUserStatus(availability int, activity string) error

func (*FriendServiceWebsocket) Unblock

func (friendService *FriendServiceWebsocket) Unblock(namespace, userID, unblockedUserID string) error

func (*FriendServiceWebsocket) Unfriend

func (friendService *FriendServiceWebsocket) Unfriend(friendID string) error

type MatchmakingServiceWebsocket added in v0.7.0

type MatchmakingServiceWebsocket struct {
	ConfigRepository  repository.ConfigRepository
	TokenRepository   repository.TokenRepository
	ConnectionManager connectionutils.ConnectionManager
}

func (*MatchmakingServiceWebsocket) CancelMatchmaking added in v0.7.0

func (matchmakingService *MatchmakingServiceWebsocket) CancelMatchmaking(gameMode string) error

func (*MatchmakingServiceWebsocket) SetReadyConsent added in v0.7.0

func (matchmakingService *MatchmakingServiceWebsocket) SetReadyConsent(matchID string) error

func (*MatchmakingServiceWebsocket) StartMatchmaking added in v0.7.0

func (matchmakingService *MatchmakingServiceWebsocket) StartMatchmaking(gameMode, dsName, clientVersion,
	latencies, partyAttribute, tempParty, extraAttributes string) error

type NotificationServiceWebsocket added in v0.3.0

type NotificationServiceWebsocket struct {
	ConfigRepository  repository.ConfigRepository
	TokenRepository   repository.TokenRepository
	ConnectionManager connectionutils.ConnectionManager
}

func (*NotificationServiceWebsocket) GetNotificationMessage added in v0.3.0

func (notificationService *NotificationServiceWebsocket) GetNotificationMessage() error

func (*NotificationServiceWebsocket) GetOfflineNotification added in v0.7.0

func (notificationService *NotificationServiceWebsocket) GetOfflineNotification() error

type PartyServiceWebsocket added in v0.7.0

type PartyServiceWebsocket struct {
	ConfigRepository  repository.ConfigRepository
	TokenRepository   repository.TokenRepository
	ConnectionManager connectionutils.ConnectionManager
}

func (*PartyServiceWebsocket) CreateParty added in v0.7.0

func (s *PartyServiceWebsocket) CreateParty() error

func (*PartyServiceWebsocket) DeletePartyCode added in v0.7.0

func (s *PartyServiceWebsocket) DeletePartyCode() error

func (*PartyServiceWebsocket) GeneratePartyCode added in v0.7.0

func (s *PartyServiceWebsocket) GeneratePartyCode() error

func (*PartyServiceWebsocket) GetAllSessionAttribute added in v0.7.0

func (s *PartyServiceWebsocket) GetAllSessionAttribute() error

func (*PartyServiceWebsocket) GetPartyCode added in v0.7.0

func (s *PartyServiceWebsocket) GetPartyCode() error

func (*PartyServiceWebsocket) GetPartyInfo added in v0.7.0

func (s *PartyServiceWebsocket) GetPartyInfo() error

func (*PartyServiceWebsocket) GetSessionAttribute added in v0.7.0

func (s *PartyServiceWebsocket) GetSessionAttribute(key string) error

func (*PartyServiceWebsocket) InviteParty added in v0.7.0

func (s *PartyServiceWebsocket) InviteParty(friendId string) error

func (*PartyServiceWebsocket) JoinParty added in v0.7.0

func (s *PartyServiceWebsocket) JoinParty(partyID, token string) error

func (*PartyServiceWebsocket) JoinViaPartyCode added in v0.7.0

func (s *PartyServiceWebsocket) JoinViaPartyCode(partyCode string) error

func (*PartyServiceWebsocket) KickPartyMember added in v0.7.0

func (s *PartyServiceWebsocket) KickPartyMember(id string) error

func (*PartyServiceWebsocket) LeaveParty added in v0.7.0

func (s *PartyServiceWebsocket) LeaveParty() error

func (*PartyServiceWebsocket) PromotePartyLeader added in v0.7.0

func (s *PartyServiceWebsocket) PromotePartyLeader(leaderUserId string) error

func (*PartyServiceWebsocket) RejectPartyInvitation added in v0.7.0

func (s *PartyServiceWebsocket) RejectPartyInvitation(partyID, token string) error

func (*PartyServiceWebsocket) SendPartyNotif added in v0.7.0

func (s *PartyServiceWebsocket) SendPartyNotif(topic, payload string) error

func (*PartyServiceWebsocket) SetSessionAttribute added in v0.7.0

func (s *PartyServiceWebsocket) SetSessionAttribute(key, value string) error

func (*PartyServiceWebsocket) UserMetric added in v0.7.0

func (s *PartyServiceWebsocket) UserMetric() error

Jump to

Keyboard shortcuts

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