mocks

package
v0.0.0-...-035f276 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IFreeCacheInMemCacheWrapper

type IFreeCacheInMemCacheWrapper struct {
	mock.Mock
}

IFreeCacheInMemCacheWrapper is an autogenerated mock type for the IFreeCacheInMemCacheWrapper type

func (*IFreeCacheInMemCacheWrapper) Get

func (_m *IFreeCacheInMemCacheWrapper) Get(key []byte) ([]byte, error)

Get provides a mock function with given fields: key

func (*IFreeCacheInMemCacheWrapper) Set

func (_m *IFreeCacheInMemCacheWrapper) Set(key []byte, value []byte, expireSeconds int) error

Set provides a mock function with given fields: key, value, expireSeconds

type IRedisBaseClientWrapper

type IRedisBaseClientWrapper struct {
	mock.Mock
}

IRedisBaseClientWrapper is an autogenerated mock type for the IRedisBaseClientWrapper type

func (*IRedisBaseClientWrapper) Get

Get provides a mock function with given fields: ctx, key

func (*IRedisBaseClientWrapper) Set

func (_m *IRedisBaseClientWrapper) Set(ctx context.Context, key string, value interface{}, expiration time.Duration) *redis.StatusCmd

Set provides a mock function with given fields: ctx, key, value, expiration

Jump to

Keyboard shortcuts

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