Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNil = errors.New("cache: nil")
ErrNil reply returned by cache when key does not exist.
Functions ¶
This section is empty.
Types ¶
type MultiLevelCache ¶
type MultiLevelCache struct { }
type ReadThroughCache ¶
type SingleFlightCache ¶
type SingleFlightCache struct { Store Store // contains filtered or unexported fields }
func (*SingleFlightCache) Delete ¶
func (store *SingleFlightCache) Delete(ctx context.Context, key string) error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.