Documentation ¶
Index ¶
- type Handler
- func (h *Handler) HandleCommand(quit chan bool, event *model.WebSocketEvent) error
- func (h *Handler) HandleGame(quit chan bool, event *model.WebSocketEvent) error
- func (h *Handler) HandleMsgFromChannel(triggerType string, quit chan bool, event *model.WebSocketEvent)
- func (h *Handler) HandleMsgFromDebuggingChannel(event *model.WebSocketEvent)
- func (h *Handler) HandleWebSocketResponse(quit chan bool, event *model.WebSocketEvent)
- func (h *Handler) SendErrorResponse(post *model.Post, message string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { Cache cache.Cache Pubsub pubsub.Pubsub Settings *settings.Settings Mm *mmclient.MMClient ResponseChannel chan comms.Response }
func NewHandler ¶
func (*Handler) HandleCommand ¶
func (h *Handler) HandleCommand(quit chan bool, event *model.WebSocketEvent) error
func (*Handler) HandleGame ¶
func (h *Handler) HandleGame(quit chan bool, event *model.WebSocketEvent) error
func (*Handler) HandleMsgFromChannel ¶
func (h *Handler) HandleMsgFromChannel(triggerType string, quit chan bool, event *model.WebSocketEvent)
func (*Handler) HandleMsgFromDebuggingChannel ¶
func (h *Handler) HandleMsgFromDebuggingChannel(event *model.WebSocketEvent)
func (*Handler) HandleWebSocketResponse ¶
func (h *Handler) HandleWebSocketResponse(quit chan bool, event *model.WebSocketEvent)
Click to show internal directories.
Click to hide internal directories.