Documentation ¶
Index ¶
- type WebSocketChannels
- type WebSocketServer
- func (_m *WebSocketServer) Close()
- func (_m *WebSocketServer) GetChannels(topic string) (chan<- interface{}, chan<- interface{}, <-chan error, <-chan struct{})
- func (_m *WebSocketServer) NewConnection(w http.ResponseWriter, r *http.Request, p httprouter.Params)
- func (_m *WebSocketServer) SendReply(message interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebSocketChannels ¶ added in v0.9.9
WebSocketChannels is an autogenerated mock type for the WebSocketChannels type
func (*WebSocketChannels) GetChannels ¶ added in v0.9.9
func (_m *WebSocketChannels) GetChannels(topic string) (chan<- interface{}, chan<- interface{}, <-chan error, <-chan struct{})
GetChannels provides a mock function with given fields: topic
func (*WebSocketChannels) SendReply ¶ added in v0.9.9
func (_m *WebSocketChannels) SendReply(message interface{})
SendReply provides a mock function with given fields: message
type WebSocketServer ¶
WebSocketServer is an autogenerated mock type for the WebSocketServer type
func (*WebSocketServer) Close ¶
func (_m *WebSocketServer) Close()
Close provides a mock function with given fields:
func (*WebSocketServer) GetChannels ¶
func (_m *WebSocketServer) GetChannels(topic string) (chan<- interface{}, chan<- interface{}, <-chan error, <-chan struct{})
GetChannels provides a mock function with given fields: topic
func (*WebSocketServer) NewConnection ¶
func (_m *WebSocketServer) NewConnection(w http.ResponseWriter, r *http.Request, p httprouter.Params)
NewConnection provides a mock function with given fields: w, r, p
func (*WebSocketServer) SendReply ¶
func (_m *WebSocketServer) SendReply(message interface{})
SendReply provides a mock function with given fields: message
Click to show internal directories.
Click to hide internal directories.