Documentation ¶
Index ¶
- type Cache
- func (cache *Cache) Del(key string)
- func (cache *Cache) GetExpired(key string) (value []byte, expiredAt time.Time, found bool)
- func (cache *Cache) Range(handle func(key string, value []byte, expiredAt time.Time) bool)
- func (cache *Cache) SetExpired(key string, value []byte, expiredAt time.Time)
- func (cache *Cache) Stats() clash.Stats
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 (*Cache) GetExpired ¶
func (*Cache) SetExpired ¶
Click to show internal directories.
Click to hide internal directories.