Documentation
¶
Index ¶
- func NewCache() factory.Cache
- func WithMemoryOption(op Option) factory.CacheOption
- type CaChe
- func (c *CaChe) ClearAll() error
- func (c *CaChe) Close() error
- func (c *CaChe) Decr(key string) error
- func (c *CaChe) Delete(key string) error
- func (c *CaChe) Get(key string) ([]byte, error)
- func (c *CaChe) Incr(key string) error
- func (c *CaChe) IsExist(key string) bool
- func (c *CaChe) Put(key string, val interface{}, timeout time.Duration) error
- func (c *CaChe) StartAndConfigure(ops ...factory.CacheOption) error
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithMemoryOption ¶
func WithMemoryOption(op Option) factory.CacheOption
Types ¶
type CaChe ¶
type CaChe struct {
// contains filtered or unexported fields
}
func (*CaChe) StartAndConfigure ¶
func (c *CaChe) StartAndConfigure(ops ...factory.CacheOption) error
Click to show internal directories.
Click to hide internal directories.