Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpServer ¶
HttpServer is an autogenerated mock type for the HttpServer type
func NewHttpServer ¶
func NewHttpServer(t mockConstructorTestingTNewHttpServer) *HttpServer
NewHttpServer creates a new instance of HttpServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*HttpServer) Close ¶
func (_m *HttpServer) Close() error
Close provides a mock function with given fields:
func (*HttpServer) SetHTTPRequestHandler ¶
func (_m *HttpServer) SetHTTPRequestHandler(handler network.HTTPRequestHandler)
SetHTTPRequestHandler provides a mock function with given fields: handler
type WebSocketServer ¶
WebSocketServer is an autogenerated mock type for the WebSocketServer type
func NewWebSocketServer ¶
func NewWebSocketServer(t mockConstructorTestingTNewWebSocketServer) *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.
func (*WebSocketServer) Close ¶
func (_m *WebSocketServer) Close() error
Close provides a mock function with given fields: