Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecByWebSocketCtrl ¶
func NewWebsocketCtrl ¶
func NewWebsocketCtrl() *ExecByWebSocketCtrl
func (*ExecByWebSocketCtrl) OnChat ¶
func (c *ExecByWebSocketCtrl) OnChat(wsMsg websocket.Message) (err error)
OnChat This will call the "OnVisit" event on all clients, including the current one, with the 'newCount' variable.
func (*ExecByWebSocketCtrl) OnNamespaceConnected ¶
func (c *ExecByWebSocketCtrl) OnNamespaceConnected(wsMsg websocket.Message) error
OnNamespaceConnected
func (*ExecByWebSocketCtrl) OnNamespaceDisconnect ¶
func (c *ExecByWebSocketCtrl) OnNamespaceDisconnect(wsMsg websocket.Message) error
OnNamespaceDisconnect This will call the "OnVisit" event on all clients, except the current one, it can't because it's left but for any case use this type of design.
type HealthzCtrl ¶
type HealthzCtrl struct { }
func (*HealthzCtrl) Get ¶
func (c *HealthzCtrl) Get(ctx iris.Context)
Click to show internal directories.
Click to hide internal directories.