MessageHandle

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMatchMessageHandle

func NewMatchMessageHandle() face.IMessageHandle[face.IMatchSystem]

func NewRoomMessageHandle

func NewRoomMessageHandle() face.IMessageHandle[face.IRoom]

Types

type MatchMessageHandle

type MatchMessageHandle[T face.IMatchSystem] struct {
	// contains filtered or unexported fields
}

func (*MatchMessageHandle[T]) Response

func (matchMessageHandle *MatchMessageHandle[T]) Response(session face.ISession, message *pb.PbMessage, data T)

type RoomMessageHandle

type RoomMessageHandle[T face.IRoom] struct {
}

func (*RoomMessageHandle[T]) Response

func (messageHandle *RoomMessageHandle[T]) Response(session face.ISession, message *pb.PbMessage, room T)

Jump to

Keyboard shortcuts

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