Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServiceContainer ¶
func NewServiceContainer() websockets.ServiceContainer
func Server ¶
func Server(t *testing.T) (ws *websockets.Server, port int)
Server mock websockets server
func WsConnection ¶
func WsConnection(wsConn *websockets.WebsocketConnMock) *websockets.Connection
Types ¶
type ServiceContainer ¶
ServiceContainer mock
func (*ServiceContainer) GetLogger ¶
func (cnt *ServiceContainer) GetLogger() websockets.Logger
func (*ServiceContainer) GetWebsocketsConfig ¶
func (cnt *ServiceContainer) GetWebsocketsConfig() *websockets.ServerConfig
Click to show internal directories.
Click to hide internal directories.