Documentation ¶
Index ¶
- Variables
- func NewCacheTxHash(cache cache.CacheInterface[string], expiration time.Duration, ...) *cacheTxHash
- func NewComposite(hashStores []TxHashStore, metrics metrics.Metrics, logger *zap.Logger) *composite
- func NewDedupTxHashStore(txHashStore TxHashStore, deduplicator *deduplicator.Deduplicator, ...) *dedupTxHashStore
- func NewMongoTxHash(database *mongo.Database, logger *zap.Logger) *mongoTxHash
- func NewRedisTxHash(client *redis.Client, prefix string, expiration time.Duration, ...) *redisTxHash
- type TxHash
- type TxHashStore
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrTxHashNotFound = errors.New("tx hash not found")
Functions ¶
func NewCacheTxHash ¶
func NewComposite ¶
func NewComposite( hashStores []TxHashStore, metrics metrics.Metrics, logger *zap.Logger) *composite
func NewDedupTxHashStore ¶
func NewDedupTxHashStore(txHashStore TxHashStore, deduplicator *deduplicator.Deduplicator, logger *zap.Logger) *dedupTxHashStore
func NewMongoTxHash ¶
Types ¶
type TxHash ¶
func CreateTxHash ¶
Click to show internal directories.
Click to hide internal directories.