Documentation ¶
Index ¶
Constants ¶
View Source
const ( UserAuthenticatedEvent int = 50 UserLoggedOutEvent int = 51 )
Variables ¶
This section is empty.
Functions ¶
func NewUserMessageHandler ¶
func NewUserMessageHandler(_r *Registrar) *_UserMessageHandler
Types ¶
type Registrar ¶
type Registrar struct {
// contains filtered or unexported fields
}
Structure holding information on current users in the system
func NewRegistrar ¶
func NewRegistrar(_em *eventgoround.EventManager, _db *database.DBWrapper, _c *server.Coordinator) *Registrar
type UserDisconnectHandler ¶
type UserDisconnectHandler struct {
// contains filtered or unexported fields
}
This is a handle to determines what type of game message
func NewUserDisconnectHandler ¶
func NewUserDisconnectHandler(_registrar *Registrar) *UserDisconnectHandler
func (*UserDisconnectHandler) HandleEvent ¶
func (m *UserDisconnectHandler) HandleEvent(_event *eventgoround.Event)
func (*UserDisconnectHandler) Type ¶
func (h *UserDisconnectHandler) Type() int
Click to show internal directories.
Click to hide internal directories.