Documentation ¶
Index ¶
- type CatapultClient
- func (_m *CatapultClient) AddBlockHandlers(handlers ...subscribers.BlockHandler) error
- func (_m *CatapultClient) AddConfirmedAddedHandlers(address *sdk.Address, handlers ...subscribers.ConfirmedAddedHandler) error
- func (_m *CatapultClient) AddCosignatureHandlers(address *sdk.Address, handlers ...subscribers.CosignatureHandler) error
- func (_m *CatapultClient) AddDriveStateHandlers(address *sdk.Address, handlers ...subscribers.DriveStateHandler) error
- func (_m *CatapultClient) AddPartialAddedHandlers(address *sdk.Address, handlers ...subscribers.PartialAddedHandler) error
- func (_m *CatapultClient) AddPartialRemovedHandlers(address *sdk.Address, handlers ...subscribers.PartialRemovedHandler) error
- func (_m *CatapultClient) AddStatusHandlers(address *sdk.Address, handlers ...subscribers.StatusHandler) error
- func (_m *CatapultClient) AddUnconfirmedAddedHandlers(address *sdk.Address, handlers ...subscribers.UnconfirmedAddedHandler) error
- func (_m *CatapultClient) AddUnconfirmedRemovedHandlers(address *sdk.Address, handlers ...subscribers.UnconfirmedRemovedHandler) error
- func (_m *CatapultClient) Close() error
- func (_m *CatapultClient) Listen()
- type Client
- type MessageInfoMapper
- type MessagePublisher
- type Router
- type Topic
- type TopicHandlersStorage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CatapultClient ¶
CatapultClient is an autogenerated mock type for the CatapultClient type
func (*CatapultClient) AddBlockHandlers ¶
func (_m *CatapultClient) AddBlockHandlers(handlers ...subscribers.BlockHandler) error
AddBlockHandlers provides a mock function with given fields: handlers
func (*CatapultClient) AddConfirmedAddedHandlers ¶
func (_m *CatapultClient) AddConfirmedAddedHandlers(address *sdk.Address, handlers ...subscribers.ConfirmedAddedHandler) error
AddConfirmedAddedHandlers provides a mock function with given fields: address, handlers
func (*CatapultClient) AddCosignatureHandlers ¶
func (_m *CatapultClient) AddCosignatureHandlers(address *sdk.Address, handlers ...subscribers.CosignatureHandler) error
AddCosignatureHandlers provides a mock function with given fields: address, handlers
func (*CatapultClient) AddDriveStateHandlers ¶
func (_m *CatapultClient) AddDriveStateHandlers(address *sdk.Address, handlers ...subscribers.DriveStateHandler) error
AddDriveStateHandlers provides a mock function with given fields: address, handlers
func (*CatapultClient) AddPartialAddedHandlers ¶
func (_m *CatapultClient) AddPartialAddedHandlers(address *sdk.Address, handlers ...subscribers.PartialAddedHandler) error
AddPartialAddedHandlers provides a mock function with given fields: address, handlers
func (*CatapultClient) AddPartialRemovedHandlers ¶
func (_m *CatapultClient) AddPartialRemovedHandlers(address *sdk.Address, handlers ...subscribers.PartialRemovedHandler) error
AddPartialRemovedHandlers provides a mock function with given fields: address, handlers
func (*CatapultClient) AddStatusHandlers ¶
func (_m *CatapultClient) AddStatusHandlers(address *sdk.Address, handlers ...subscribers.StatusHandler) error
AddStatusHandlers provides a mock function with given fields: address, handlers
func (*CatapultClient) AddUnconfirmedAddedHandlers ¶
func (_m *CatapultClient) AddUnconfirmedAddedHandlers(address *sdk.Address, handlers ...subscribers.UnconfirmedAddedHandler) error
AddUnconfirmedAddedHandlers provides a mock function with given fields: address, handlers
func (*CatapultClient) AddUnconfirmedRemovedHandlers ¶
func (_m *CatapultClient) AddUnconfirmedRemovedHandlers(address *sdk.Address, handlers ...subscribers.UnconfirmedRemovedHandler) error
AddUnconfirmedRemovedHandlers provides a mock function with given fields: address, handlers
func (*CatapultClient) Close ¶
func (_m *CatapultClient) Close() error
Close provides a mock function with given fields:
func (*CatapultClient) Listen ¶
func (_m *CatapultClient) Listen()
Listen provides a mock function with given fields:
type Client ¶
Client is an autogenerated mock type for the Client type
type MessageInfoMapper ¶
MessageInfoMapper is an autogenerated mock type for the MessageInfoMapper type
func (*MessageInfoMapper) MapMessageInfo ¶
func (_m *MessageInfoMapper) MapMessageInfo(_a0 []byte) (*sdk.WsMessageInfo, error)
MapMessageInfo provides a mock function with given fields: _a0
type MessagePublisher ¶
MessagePublisher is an autogenerated mock type for the MessagePublisher type
func (*MessagePublisher) PublishSubscribeMessage ¶
func (_m *MessagePublisher) PublishSubscribeMessage(uid string, path websocket.Path) error
PublishSubscribeMessage provides a mock function with given fields: uid, path
func (*MessagePublisher) PublishUnsubscribeMessage ¶
func (_m *MessagePublisher) PublishUnsubscribeMessage(uid string, path websocket.Path) error
PublishUnsubscribeMessage provides a mock function with given fields: uid, path
func (*MessagePublisher) SetConn ¶
func (_m *MessagePublisher) SetConn(conn *gorillawebsocket.Conn)
SetConn provides a mock function with given fields: conn
type Router ¶
Router is an autogenerated mock type for the Router type
func (*Router) RouteMessage ¶
RouteMessage provides a mock function with given fields: _a0
type TopicHandlersStorage ¶
TopicHandlersStorage is an autogenerated mock type for the TopicHandlersStorage type
func (*TopicHandlersStorage) GetHandler ¶
func (_m *TopicHandlersStorage) GetHandler(path websocket.Path) *websocket.TopicHandler
GetHandler provides a mock function with given fields: path
func (*TopicHandlersStorage) HasHandler ¶
func (_m *TopicHandlersStorage) HasHandler(path websocket.Path) bool
HasHandler provides a mock function with given fields: path
func (*TopicHandlersStorage) SetTopicHandler ¶
func (_m *TopicHandlersStorage) SetTopicHandler(path websocket.Path, handler *websocket.TopicHandler)
SetTopicHandler provides a mock function with given fields: path, handler