Versions in this module Expand all Collapse all v0 v0.0.1 Jul 6, 2023 Changes in this version + type HttpServerStub struct + ListenAndServeCalled func() error + ShutdownCalled func(ctx context.Context) error + func (h *HttpServerStub) ListenAndServe() error + func (h *HttpServerStub) Shutdown(ctx context.Context) error + type Uint64ByteSliceConverterStub struct + ToByteSliceCalled func(u2 uint64) []byte + ToUint64Called func(bytes []byte) (uint64, error) + func (u *Uint64ByteSliceConverterStub) IsInterfaceNil() bool + func (u *Uint64ByteSliceConverterStub) ToByteSlice(u2 uint64) []byte + func (u *Uint64ByteSliceConverterStub) ToUint64(bytes []byte) (uint64, error) + type WebSocketSenderStub struct + AddClientCalled func(wss data.WSConn, remoteAddr string) + CloseCalled func() error + SendOnRouteCalled func(args data.WsSendArgs) error + func (w *WebSocketSenderStub) AddClient(wss data.WSConn, remoteAddr string) + func (w *WebSocketSenderStub) Close() error + func (w *WebSocketSenderStub) IsInterfaceNil() bool + func (w *WebSocketSenderStub) Send(args data.WsSendArgs) error + type WebsocketConnectionStub struct + CloseCalled func() error + ReadMessageCalled func() (messageType int, payload []byte, err error) + WriteMessageCalled func(messageType int, data []byte) error + func (w *WebsocketConnectionStub) Close() error + func (w *WebsocketConnectionStub) ReadMessage() (messageType int, payload []byte, err error) + func (w *WebsocketConnectionStub) WriteMessage(messageType int, data []byte) error