Documentation ¶
Index ¶
- type Marshaler
- func (c *Marshaler) Clear() error
- func (c *Marshaler) Delete(key interface{}) error
- func (c *Marshaler) Get(key interface{}, returnObj interface{}) (interface{}, error)
- func (c *Marshaler) Invalidate(options store.InvalidateOptions) error
- func (c *Marshaler) Set(key, object interface{}, options *store.Options) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Marshaler ¶
type Marshaler struct {
// contains filtered or unexported fields
}
Marshaler is the struct that marshal and unmarshal cache values
func New ¶
func New(cache cache.CacheInterface) *Marshaler
New creates a new marshaler that marshals/unmarshals cache values
func (*Marshaler) Invalidate ¶ added in v0.2.0
func (c *Marshaler) Invalidate(options store.InvalidateOptions) error
Invalidate invalidate cache values using given options
Click to show internal directories.
Click to hide internal directories.