Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheFlusherMock ¶
type CacheFlusherMock struct {
EvictAllCall func()
EvictCall func(key string)
EvictBySurrogateCall func(surrogate string)
}
CacheFlusherMock implements the CacheFlusher interface
func (*CacheFlusherMock) EvictAll ¶
func (c *CacheFlusherMock) EvictAll()
EvictAll clears all the cahed entries
func (*CacheFlusherMock) EvictBySurrogate ¶
func (c *CacheFlusherMock) EvictBySurrogate(key string)
EvictBySurrogate keys referenced by a surrogate
Click to show internal directories.
Click to hide internal directories.