Documentation ¶
Index ¶
- Constants
- func NewRCache(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
- type NamespaceKey
Constants ¶
View Source
const ( PrefixContractName NamespaceKey = "contractName" PrefixENS NamespaceKey = "ensDomain" KeyDelimiter string = ":" )
Variables ¶
This section is empty.
Functions ¶
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
type NamespaceKey ¶
type NamespaceKey string
Click to show internal directories.
Click to hide internal directories.