room

package
v0.0.0-...-5387047 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2021 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangeTeamService

type ChangeTeamService interface {
	Handle(ctx context.Context) error
}

func NewChangeTeamService

func NewChangeTeamService(p *packet.PacketData, client net.Conn) ChangeTeamService

type CloseResultService

type CloseResultService interface {
	Handle(ctx context.Context) error
}

func NewCloseResultService

func NewCloseResultService(client net.Conn) CloseResultService

type CreateRoomService

type CreateRoomService interface {
	Handle(ctx context.Context) error
}

func NewCreateRoomService

func NewCreateRoomService(p *packet.PacketData, client net.Conn) CreateRoomService

type JoinRoomService

type JoinRoomService interface {
	Handle(ctx context.Context) error
}

func NewJoinRoomService

func NewJoinRoomService(p *packet.PacketData, client net.Conn) JoinRoomService

type LeaveRoomService

type LeaveRoomService interface {
	Handle(ctx context.Context) error
	UserRoomEnd(ctx context.Context, u *user.UserCache) error
}

func NewLeaveRoomService

func NewLeaveRoomService(client net.Conn) LeaveRoomService

type ReadyService

type ReadyService interface {
	Handle(ctx context.Context) error
}

func NewReadyService

func NewReadyService(p *packet.PacketData, client net.Conn) ReadyService

type StartService

type StartService interface {
	Handle(ctx context.Context) error
}

func NewStartService

func NewStartService(client net.Conn) StartService

type UpdateRoomService

type UpdateRoomService interface {
	Handle(ctx context.Context) error
}

func NewUpdateRoomService

func NewUpdateRoomService(p *packet.PacketData, client net.Conn) UpdateRoomService

Jump to

Keyboard shortcuts

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