Documentation
¶
Index ¶
- type Cache
- func (c *Cache) Apply(cfg *conf.Configuration)
- func (c *Cache) Del(key string) error
- func (c *Cache) Get(key string, v interface{}) error
- func (c *Cache) Has(key string) bool
- func (c *Cache) IsNotFound(err error) bool
- func (c *Cache) Set(key string, v interface{}, ttl time.Duration) error
- func (c *Cache) Take(v interface{}, key string, ttl 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
}
Cache implement github.com/tsingsun/woocoo/cache/Cache
func NewBuiltIn ¶
func NewBuiltIn() *Cache
func (*Cache) IsNotFound ¶
Click to show internal directories.
Click to hide internal directories.