Documentation ¶
Index ¶
- func RestoreConnectionWorker(database *Instance, timeout time.Duration, uri string)
- type Instance
- func (i *Instance) AddSubscriptions(subscriptions []models.Subscription, ctx context.Context) error
- func (i *Instance) DeleteSubscriptions(subscriptions []models.Subscription, ctx context.Context) error
- func (i *Instance) GetLastParsedBlockNumber(coin string, ctx context.Context) (int64, error)
- func (i *Instance) GetSubscriptions(coin uint, addresses []string, ctx context.Context) ([]models.Subscription, error)
- func (i *Instance) SetLastParsedBlockNumber(coin string, num int64, ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Instance ¶
func (*Instance) AddSubscriptions ¶
func (*Instance) DeleteSubscriptions ¶
func (*Instance) GetLastParsedBlockNumber ¶
func (*Instance) GetSubscriptions ¶ added in v1.1.4
Click to show internal directories.
Click to hide internal directories.