cachemocks

package
v0.0.0-...-fbbe109 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	mock.Mock
}

Cache is an autogenerated mock type for the Cache type

func (*Cache) Delete

func (c *Cache) Delete(key []byte) bool

Delete provides a mock function with given fields: key

func (*Cache) Get

func (c *Cache) Get(key ...[]byte) []cache.ItemView

Get provides a mock function with given fields: key

func (*Cache) Lock

func (c *Cache) Lock()

func (*Cache) NewDeleter

func (c *Cache) NewDeleter(rawCommand []byte) cache.Deleter

func (*Cache) NewGetter

func (c *Cache) NewGetter(rawCommand []byte) cache.Getter

func (*Cache) NewSetter

func (c *Cache) NewSetter(rawCommand []byte) cache.Setter

func (*Cache) RLock

func (c *Cache) RLock()

func (*Cache) RUnlock

func (c *Cache) RUnlock()

func (*Cache) Set

func (c *Cache) Set(i cache.Item)

func (*Cache) Touch

func (c *Cache) Touch(key ...[]byte)

func (*Cache) Unlock

func (c *Cache) Unlock()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL