mocks

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheInterface

type CacheInterface struct {
	mock.Mock
}

CacheInterface is an autogenerated mock type for the CacheInterface type

func (*CacheInterface) Get

func (_m *CacheInterface) Get(key interface{}) (interface{}, error)

Get provides a mock function with given fields: key

func (*CacheInterface) GetType

func (_m *CacheInterface) GetType() string

GetType provides a mock function with given fields:

func (*CacheInterface) Set

func (_m *CacheInterface) Set(key interface{}, object interface{}, options *store.Options) error

Set provides a mock function with given fields: key, object, options

type SetterCacheInterface

type SetterCacheInterface struct {
	mock.Mock
}

SetterCacheInterface is an autogenerated mock type for the SetterCacheInterface type

func (*SetterCacheInterface) Get

func (_m *SetterCacheInterface) Get(key interface{}) (interface{}, error)

Get provides a mock function with given fields: key

func (*SetterCacheInterface) GetCodec

func (_m *SetterCacheInterface) GetCodec() codec.CodecInterface

GetCodec provides a mock function with given fields:

func (*SetterCacheInterface) GetType

func (_m *SetterCacheInterface) GetType() string

GetType provides a mock function with given fields:

func (*SetterCacheInterface) Set

func (_m *SetterCacheInterface) Set(key interface{}, object interface{}, options *store.Options) error

Set provides a mock function with given fields: key, object, options

Jump to

Keyboard shortcuts

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