mocks

package
v0.0.0-...-5b70f3c Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2021 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 Cmdable

type Cmdable struct {
	mock.Mock
}

Cmdable is an autogenerated mock type for the Cmdable type

func (*Cmdable) Del

func (_m *Cmdable) Del(ctx context.Context, keys ...string) *redis.IntCmd

Del provides a mock function with given fields: ctx, keys

func (*Cmdable) Exists

func (_m *Cmdable) Exists(ctx context.Context, keys ...string) *redis.IntCmd

Exists provides a mock function with given fields: ctx, keys

func (*Cmdable) Get

func (_m *Cmdable) Get(ctx context.Context, key string) *redis.StringCmd

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

func (*Cmdable) MGet

func (_m *Cmdable) MGet(ctx context.Context, keys ...string) *redis.SliceCmd

MGet provides a mock function with given fields: ctx, keys

func (*Cmdable) Scan

func (_m *Cmdable) Scan(ctx context.Context, cursor uint64, match string, count int64) *redis.ScanCmd

Scan provides a mock function with given fields: ctx, cursor, match, count

func (*Cmdable) Set

func (_m *Cmdable) 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