mocks

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2016 License: MPL-2.0 Imports: 3 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
}

func (*Cache) Get

func (m *Cache) Get(key string) (interface{}, cache.Result)

func (*Cache) Put

func (m *Cache) Put(key string, value interface{}, ttl time.Duration)

func (*Cache) Size

func (m *Cache) Size() int

Jump to

Keyboard shortcuts

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