Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CacheAssessor ¶
type CacheAssessor struct {
// contains filtered or unexported fields
}
CacheAssessor struct
func NewCacheAssessor ¶
func NewCacheAssessor(ctx context.Context, db int) *CacheAssessor
NewCacheAssessor creates a new CacheAssessor
func (*CacheAssessor) Delete ¶
func (ca *CacheAssessor) Delete(index string) error
Delete remove cache contents
func (*CacheAssessor) Get ¶
func (ca *CacheAssessor) Get(index string) (interface{}, bool)
Get returns cache contents
Click to show internal directories.
Click to hide internal directories.