Documentation
¶
Index ¶
- type ClientHandlerTask
- func (h *ClientHandlerTask) WSBinary(ctx channel.HandlerContext, message *websocket.DefaultMessage, ...)
- func (h *ClientHandlerTask) WSClose(ctx channel.HandlerContext, message *websocket.CloseMessage, ...)
- func (h *ClientHandlerTask) WSConnected(ch channel.Channel, req *http.Request, resp *http.Response, ...)
- func (h *ClientHandlerTask) WSDisconnected(ch channel.Channel, req *http.Request, resp *http.Response, ...)
- func (h *ClientHandlerTask) WSPing(ctx channel.HandlerContext, message *websocket.PingMessage, ...)
- func (h *ClientHandlerTask) WSPong(ctx channel.HandlerContext, message *websocket.PongMessage, ...)
- func (h *ClientHandlerTask) WSText(ctx channel.HandlerContext, message *websocket.DefaultMessage, ...)
- type CloseTask
- type DefaultHomeTask
- type DefaultTask
- type Route
- type ServerHandlerTask
- func (h *ServerHandlerTask) WSClose(ctx channel.HandlerContext, message *websocket.CloseMessage, ...)
- func (h *ServerHandlerTask) WSConnected(ch channel.Channel, req *http.Request, resp *http.Response, ...)
- func (h *ServerHandlerTask) WSDisconnected(ch channel.Channel, req *http.Request, resp *http.Response, ...)
- func (h *ServerHandlerTask) WSPing(ctx channel.HandlerContext, message *websocket.PingMessage, ...)
- func (h *ServerHandlerTask) WSPong(ctx channel.HandlerContext, message *websocket.PongMessage, ...)
- func (h *ServerHandlerTask) WSText(ctx channel.HandlerContext, message *websocket.DefaultMessage, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientHandlerTask ¶
type ClientHandlerTask struct {
websocket.DefaultHandlerTask
}
func (*ClientHandlerTask) WSBinary ¶
func (h *ClientHandlerTask) WSBinary(ctx channel.HandlerContext, message *websocket.DefaultMessage, params map[string]interface{})
func (*ClientHandlerTask) WSClose ¶
func (h *ClientHandlerTask) WSClose(ctx channel.HandlerContext, message *websocket.CloseMessage, params map[string]interface{})
func (*ClientHandlerTask) WSConnected ¶
func (*ClientHandlerTask) WSDisconnected ¶
func (*ClientHandlerTask) WSPing ¶
func (h *ClientHandlerTask) WSPing(ctx channel.HandlerContext, message *websocket.PingMessage, params map[string]interface{})
func (*ClientHandlerTask) WSPong ¶
func (h *ClientHandlerTask) WSPong(ctx channel.HandlerContext, message *websocket.PongMessage, params map[string]interface{})
func (*ClientHandlerTask) WSText ¶
func (h *ClientHandlerTask) WSText(ctx channel.HandlerContext, message *websocket.DefaultMessage, params map[string]interface{})
type CloseTask ¶
type CloseTask struct {
http.DefaultHTTPHandlerTask
}
type DefaultHomeTask ¶
type DefaultHomeTask struct {
http.DefaultHTTPHandlerTask
}
func (*DefaultHomeTask) Get ¶
func (l *DefaultHomeTask) Get(ctx channel.HandlerContext, req *http.Request, resp *http.Response, params map[string]interface{}) http.ErrorResponse
type DefaultTask ¶
type DefaultTask struct {
http.DefaultHTTPHandlerTask
}
func (*DefaultTask) Get ¶
func (l *DefaultTask) Get(ctx channel.HandlerContext, req *http.Request, resp *http.Response, params map[string]interface{}) http.ErrorResponse
type ServerHandlerTask ¶
type ServerHandlerTask struct {
websocket.DefaultServerHandlerTask
}
func (*ServerHandlerTask) WSClose ¶
func (h *ServerHandlerTask) WSClose(ctx channel.HandlerContext, message *websocket.CloseMessage, params map[string]interface{})
func (*ServerHandlerTask) WSConnected ¶
func (*ServerHandlerTask) WSDisconnected ¶
func (*ServerHandlerTask) WSPing ¶
func (h *ServerHandlerTask) WSPing(ctx channel.HandlerContext, message *websocket.PingMessage, params map[string]interface{})
func (*ServerHandlerTask) WSPong ¶
func (h *ServerHandlerTask) WSPong(ctx channel.HandlerContext, message *websocket.PongMessage, params map[string]interface{})
func (*ServerHandlerTask) WSText ¶
func (h *ServerHandlerTask) WSText(ctx channel.HandlerContext, message *websocket.DefaultMessage, params map[string]interface{})
Click to show internal directories.
Click to hide internal directories.