 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- type Cache
- func (c *Cache) Clean() error
- func (c *Cache) Del(key string) error
- func (c *Cache) Get(key string) ([]byte, error)
- func (c *Cache) PrefixScanKey(prefixStr string) ([]string, error)
- func (c *Cache) Set(key string, value interface{}) error
- func (c *Cache) SetWithTTL(key string, value interface{}, duration time.Duration) error
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
	// contains filtered or unexported fields
}
    func NewCacheDB ¶
func NewCacheDB(db *badger.DB) *Cache
 Click to show internal directories. 
   Click to hide internal directories.