Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Services is All services in chat server Services = &component.Components{} )
Functions ¶
func OnSessionClosed ¶
Types ¶
type RoomService ¶
func (*RoomService) JoinRoom ¶
func (rs *RoomService) JoinRoom(s *session.Session, msg *protocol.JoinRoomRequest) error
func (*RoomService) SyncMessage ¶
func (rs *RoomService) SyncMessage(s *session.Session, msg *SyncMessage) error
type SyncMessage ¶
Click to show internal directories.
Click to hide internal directories.