Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DescriptorWalletNotifierHandler ¶
type DescriptorWalletNotifierHandler interface { Start() Stop() HandleSubscriptionRequestWs(w http.ResponseWriter, req *http.Request) HandleSubscriptionRequestHttp(w http.ResponseWriter, req *http.Request) }
func NewDescriptorWalletNotifierHandler ¶
func NewDescriptorWalletNotifierHandler( notificationSvc application.NotificationService, ) DescriptorWalletNotifierHandler
type HttpSubscriber ¶
type HttpSubscriber struct { ID SubscriberID EndpointUrl string }
func (*HttpSubscriber) SubscriberID ¶
func (h *HttpSubscriber) SubscriberID() SubscriberID
func (*HttpSubscriber) Type ¶
func (h *HttpSubscriber) Type() SubscriberType
type Subscriber ¶
type Subscriber interface { Type() SubscriberType SubscriberID() SubscriberID }
type SubscriberID ¶
type SubscriberType ¶
type SubscriberType string
type WsSubscriber ¶
type WsSubscriber struct { ID SubscriberID WsConnection *websocket.Conn }
func (*WsSubscriber) SubscriberID ¶
func (w *WsSubscriber) SubscriberID() SubscriberID
func (*WsSubscriber) Type ¶
func (w *WsSubscriber) Type() SubscriberType
Click to show internal directories.
Click to hide internal directories.