Documentation ¶
Index ¶
- type AuthResponseData
- type Handlers
- func (h *Handlers) HandleAcceptRoomJoinRequest(data *resource.Packet, c *client.Client) gateway.Error
- func (h *Handlers) HandleAuth(packet *resource.Packet, c *client.Client) gateway.Error
- func (h *Handlers) HandleDisconnect(data *resource.Packet, c *client.Client) gateway.Error
- func (h *Handlers) HandleJoinRoom(data *resource.Packet, c *client.Client) gateway.Error
- func (h *Handlers) HandleKickUser(data *resource.Packet, c *client.Client) gateway.Error
- func (h *Handlers) HandleLeaveRoom(data *resource.Packet, c *client.Client) gateway.Error
- func (h *Handlers) HandleQueueAdd(data *resource.Packet, c *client.Client) gateway.Error
- func (h *Handlers) HandleQueueRemove(data *resource.Packet, c *client.Client) gateway.Error
- func (h *Handlers) HandleSeek(data *resource.Packet, c *client.Client) gateway.Error
- func (h *Handlers) HandleSetPlayerState(data *resource.Packet, c *client.Client) gateway.Error
- func (h *Handlers) HandleSkip(data *resource.Packet, c *client.Client) gateway.Error
- func (h *Handlers) HandleUpdateRole(data *resource.Packet, c *client.Client) gateway.Error
- func (h *Handlers) HandleVideoEnd(data *resource.Packet, c *client.Client) gateway.Error
- func (h *Handlers) KickUser(msg *dispatcher.Message)
- func (h *Handlers) SetCurrentItem(ctx context.Context, roomId model.RoomId, item *resource.MediaItem) error
- func (h *Handlers) UpdateRole(msg *dispatcher.Message)
- type KickUserMessage
- type RoleUpdateMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthResponseData ¶
type AuthResponseData struct {
SessionId string `json:"sessionId" msgpack:"sessionId"`
}
type Handlers ¶
type Handlers struct {
// contains filtered or unexported fields
}
func (*Handlers) HandleAcceptRoomJoinRequest ¶
func (*Handlers) HandleAuth ¶
func (*Handlers) HandleDisconnect ¶
func (*Handlers) HandleJoinRoom ¶
func (*Handlers) HandleKickUser ¶
func (*Handlers) HandleLeaveRoom ¶
func (*Handlers) HandleQueueAdd ¶
func (*Handlers) HandleQueueRemove ¶
func (*Handlers) HandleSeek ¶
func (*Handlers) HandleSetPlayerState ¶
func (*Handlers) HandleSkip ¶
func (*Handlers) HandleUpdateRole ¶
func (*Handlers) HandleVideoEnd ¶
func (*Handlers) KickUser ¶
func (h *Handlers) KickUser(msg *dispatcher.Message)
func (*Handlers) SetCurrentItem ¶
func (*Handlers) UpdateRole ¶
func (h *Handlers) UpdateRole(msg *dispatcher.Message)
type KickUserMessage ¶
Click to show internal directories.
Click to hide internal directories.