Documentation ¶
Index ¶
- type Instance
- func (i *Instance) AddAssociationsForAddress(address string, assets []models.Asset, ctx context.Context) error
- func (i *Instance) AddNewAssets(assets []models.Asset, ctx context.Context) error
- func (i *Instance) AddSubscriptionsForNotifications(addresses []string, ctx context.Context) error
- func (i *Instance) DeleteSubscriptionsForNotifications(addresses []string, ctx context.Context) error
- func (i *Instance) GetAssetsByIDs(ids []string, ctx context.Context) ([]models.Asset, error)
- func (i *Instance) GetAssetsFrom(from time.Time, coin int, ctx context.Context) ([]models.Asset, error)
- func (i Instance) GetAssetsMapByAddresses(addresses []string, ctx context.Context) (map[string][]models.Asset, error)
- func (i Instance) GetAssetsMapByAddressesFromTime(addresses []string, from time.Time, ctx context.Context) (map[string][]models.Asset, error)
- func (i *Instance) GetAssociationsByAddresses(addresses []string, ctx context.Context) ([]models.AddressToAssetAssociation, error)
- func (i *Instance) GetAssociationsByAddressesFromTime(addresses []string, from time.Time, ctx context.Context) ([]models.AddressToAssetAssociation, error)
- func (i *Instance) GetLastParsedBlockNumber(coin string, ctx context.Context) (int64, error)
- func (i Instance) GetSubscribedAddressesForAssets(ctx context.Context, addresses []string) ([]models.Address, error)
- func (i *Instance) GetSubscriptionsForNotifications(addresses []string, ctx context.Context) ([]models.NotificationSubscription, error)
- func (i *Instance) MemoryGet(key string, ctx context.Context) ([]byte, error)
- func (i *Instance) MemorySet(key string, data []byte, exp time.Duration, ctx context.Context) error
- func (i *Instance) RestoreConnectionWorker(ctx context.Context, timeout time.Duration, uri string)
- func (i *Instance) SetLastParsedBlockNumber(coin string, num int64, ctx context.Context) error
- func (i *Instance) UpdateAssociationsForExistingAddresses(associations map[string][]models.Asset, ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instance ¶
func (*Instance) AddAssociationsForAddress ¶ added in v1.1.9
func (*Instance) AddNewAssets ¶ added in v1.1.14
func (*Instance) AddSubscriptionsForNotifications ¶ added in v1.1.9
func (*Instance) DeleteSubscriptionsForNotifications ¶ added in v1.1.9
func (*Instance) GetAssetsByIDs ¶ added in v1.1.14
func (*Instance) GetAssetsFrom ¶ added in v1.1.14
func (Instance) GetAssetsMapByAddresses ¶ added in v1.1.9
func (Instance) GetAssetsMapByAddressesFromTime ¶ added in v1.1.9
func (*Instance) GetAssociationsByAddresses ¶ added in v1.1.9
func (*Instance) GetAssociationsByAddressesFromTime ¶ added in v1.1.9
func (*Instance) GetLastParsedBlockNumber ¶
func (Instance) GetSubscribedAddressesForAssets ¶ added in v1.1.9
func (*Instance) GetSubscriptionsForNotifications ¶ added in v1.1.9
func (*Instance) RestoreConnectionWorker ¶ added in v1.1.14
func (*Instance) SetLastParsedBlockNumber ¶
Click to show internal directories.
Click to hide internal directories.