Documentation ¶
Index ¶
- func NewRedisClient(ctx context.Context) *redis.Client
- type GbCache
- func (c *GbCache) CacheCollectionName(collectionAddress common.Address, collectionName string)
- func (c *GbCache) CacheENSName(walletAddress common.Address, ensName string)
- func (c *GbCache) GetCollectionName(collectionAddress common.Address) (string, error)
- func (c *GbCache) GetENSName(walletAddress common.Address) (string, error)
- func (c *GbCache) GetRDB() *redis.Client
- func (c *GbCache) StoreEvent(contractAddress common.Address, collectionName string, tokenID uint64, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRedisClient ¶ added in v0.0.10
Types ¶
type GbCache ¶ added in v0.0.9
type GbCache struct {
// contains filtered or unexported fields
}
func (*GbCache) CacheCollectionName ¶ added in v0.0.9
func (*GbCache) CacheENSName ¶ added in v0.0.9
func (*GbCache) GetCollectionName ¶ added in v0.0.9
func (*GbCache) GetENSName ¶ added in v0.0.9
Click to show internal directories.
Click to hide internal directories.