Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Params ¶
type Params struct { Log *zap.Logger Endpoint string DialTimeout time.Duration StartFromBlock uint32 }
Params is a group of Subscriber constructor parameters.
type Subscriber ¶
type Subscriber interface { SubscribeForNotification(...util.Uint160) (<-chan *subscriptions.NotificationEvent, error) UnsubscribeForNotification() BlockNotifications() (<-chan *block.Block, error) SubscribeForNotaryRequests(mainTXSigner util.Uint160) (<-chan *subscriptions.NotaryRequestEvent, error) Close() }
Subscriber is an interface of the NotificationEvent listener.
Click to show internal directories.
Click to hide internal directories.