Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebSocketChannels ¶
WebSocketChannels is an autogenerated mock type for the WebSocketChannels type
func NewWebSocketChannels ¶
func NewWebSocketChannels(t interface { mock.TestingT Cleanup(func()) }) *WebSocketChannels
NewWebSocketChannels creates a new instance of WebSocketChannels. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*WebSocketChannels) GetChannels ¶
func (_m *WebSocketChannels) GetChannels(streamName string) (chan<- interface{}, chan<- interface{}, <-chan *wsserver.WebSocketCommandMessageOrError)
GetChannels provides a mock function with given fields: streamName
type WebSocketServer ¶
WebSocketServer is an autogenerated mock type for the WebSocketServer type
func NewWebSocketServer ¶
func NewWebSocketServer(t interface { mock.TestingT Cleanup(func()) }) *WebSocketServer
NewWebSocketServer creates a new instance of WebSocketServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*WebSocketServer) Close ¶
func (_m *WebSocketServer) Close()
Close provides a mock function with given fields:
func (*WebSocketServer) GetChannels ¶
func (_m *WebSocketServer) GetChannels(streamName string) (chan<- interface{}, chan<- interface{}, <-chan *wsserver.WebSocketCommandMessageOrError)
GetChannels provides a mock function with given fields: streamName
func (*WebSocketServer) Handler ¶
func (_m *WebSocketServer) Handler(w http.ResponseWriter, r *http.Request)
Handler provides a mock function with given fields: w, r