redisjson

package
v0.0.0-...-af574e6 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package redisjson is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRedisJson

func NewRedisJson(redis bridge.Redis, json bridge.Json) *redisJson

NewRedisJson constructs a new RedisJson module which needs input of Redis and Json modules

Types

type MockRedisJson

type MockRedisJson struct {
	// contains filtered or unexported fields
}

MockRedisJson is a mock of RedisJson interface

func NewMockRedisJson

func NewMockRedisJson(ctrl *gomock.Controller) *MockRedisJson

NewMockRedisJson creates a new mock instance

func (*MockRedisJson) Close

func (m *MockRedisJson) Close() error

Close mocks base method

func (*MockRedisJson) Decr

func (m *MockRedisJson) Decr(arg0 string) (int64, error)

Decr mocks base method

func (*MockRedisJson) Del

func (m *MockRedisJson) Del(arg0 ...interface{}) (int64, error)

Del mocks base method

func (*MockRedisJson) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockRedisJson) Exists

func (m *MockRedisJson) Exists(arg0 string) (bool, error)

Exists mocks base method

func (*MockRedisJson) Expire

func (m *MockRedisJson) Expire(arg0 string, arg1 int) (bool, error)

Expire mocks base method

func (*MockRedisJson) ExpireAt

func (m *MockRedisJson) ExpireAt(arg0 string, arg1 int64) (bool, error)

ExpireAt mocks base method

func (*MockRedisJson) Get

func (m *MockRedisJson) Get(arg0 string) ([]byte, error)

Get mocks base method

func (*MockRedisJson) GetUnmarshalled

func (m *MockRedisJson) GetUnmarshalled(arg0 string, arg1 interface{}) error

GetUnmarshalled mocks base method

func (*MockRedisJson) HDel

func (m *MockRedisJson) HDel(arg0 string, arg1 ...string) (int64, error)

HDel mocks base method

func (*MockRedisJson) HExists

func (m *MockRedisJson) HExists(arg0, arg1 string) (bool, error)

HExists mocks base method

func (*MockRedisJson) HGet

func (m *MockRedisJson) HGet(arg0, arg1 string) ([]byte, error)

HGet mocks base method

func (*MockRedisJson) HGetAll

func (m *MockRedisJson) HGetAll(arg0 string) (map[string]string, error)

HGetAll mocks base method

func (*MockRedisJson) HKeys

func (m *MockRedisJson) HKeys(arg0 string) ([]string, error)

HKeys mocks base method

func (*MockRedisJson) HMGet

func (m *MockRedisJson) HMGet(arg0 string, arg1 ...string) ([][]byte, error)

HMGet mocks base method

func (*MockRedisJson) HSet

func (m *MockRedisJson) HSet(arg0, arg1, arg2 string) (bool, error)

HSet mocks base method

func (*MockRedisJson) Incr

func (m *MockRedisJson) Incr(arg0 string) (int64, error)

Incr mocks base method

func (*MockRedisJson) Set

func (m *MockRedisJson) Set(arg0, arg1 string) error

Set mocks base method

func (*MockRedisJson) Setex

func (m *MockRedisJson) Setex(arg0 string, arg1 int, arg2 string) error

Setex mocks base method

func (*MockRedisJson) SetexMarshalled

func (m *MockRedisJson) SetexMarshalled(arg0 string, arg1 int, arg2 interface{}) error

SetexMarshalled mocks base method

func (*MockRedisJson) Setnx

func (m *MockRedisJson) Setnx(arg0 string, arg1 int, arg2 string) (bool, error)

Setnx mocks base method

func (*MockRedisJson) TTL

func (m *MockRedisJson) TTL(arg0 string) (int64, error)

TTL mocks base method

type MockRedisJsonMockRecorder

type MockRedisJsonMockRecorder struct {
	// contains filtered or unexported fields
}

MockRedisJsonMockRecorder is the mock recorder for MockRedisJson

func (*MockRedisJsonMockRecorder) Close

func (mr *MockRedisJsonMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockRedisJsonMockRecorder) Decr

func (mr *MockRedisJsonMockRecorder) Decr(arg0 interface{}) *gomock.Call

Decr indicates an expected call of Decr

func (*MockRedisJsonMockRecorder) Del

func (mr *MockRedisJsonMockRecorder) Del(arg0 ...interface{}) *gomock.Call

Del indicates an expected call of Del

func (*MockRedisJsonMockRecorder) Exists

func (mr *MockRedisJsonMockRecorder) Exists(arg0 interface{}) *gomock.Call

Exists indicates an expected call of Exists

func (*MockRedisJsonMockRecorder) Expire

func (mr *MockRedisJsonMockRecorder) Expire(arg0, arg1 interface{}) *gomock.Call

Expire indicates an expected call of Expire

func (*MockRedisJsonMockRecorder) ExpireAt

func (mr *MockRedisJsonMockRecorder) ExpireAt(arg0, arg1 interface{}) *gomock.Call

ExpireAt indicates an expected call of ExpireAt

func (*MockRedisJsonMockRecorder) Get

func (mr *MockRedisJsonMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockRedisJsonMockRecorder) GetUnmarshalled

func (mr *MockRedisJsonMockRecorder) GetUnmarshalled(arg0, arg1 interface{}) *gomock.Call

GetUnmarshalled indicates an expected call of GetUnmarshalled

func (*MockRedisJsonMockRecorder) HDel

func (mr *MockRedisJsonMockRecorder) HDel(arg0 interface{}, arg1 ...interface{}) *gomock.Call

HDel indicates an expected call of HDel

func (*MockRedisJsonMockRecorder) HExists

func (mr *MockRedisJsonMockRecorder) HExists(arg0, arg1 interface{}) *gomock.Call

HExists indicates an expected call of HExists

func (*MockRedisJsonMockRecorder) HGet

func (mr *MockRedisJsonMockRecorder) HGet(arg0, arg1 interface{}) *gomock.Call

HGet indicates an expected call of HGet

func (*MockRedisJsonMockRecorder) HGetAll

func (mr *MockRedisJsonMockRecorder) HGetAll(arg0 interface{}) *gomock.Call

HGetAll indicates an expected call of HGetAll

func (*MockRedisJsonMockRecorder) HKeys

func (mr *MockRedisJsonMockRecorder) HKeys(arg0 interface{}) *gomock.Call

HKeys indicates an expected call of HKeys

func (*MockRedisJsonMockRecorder) HMGet

func (mr *MockRedisJsonMockRecorder) HMGet(arg0 interface{}, arg1 ...interface{}) *gomock.Call

HMGet indicates an expected call of HMGet

func (*MockRedisJsonMockRecorder) HSet

func (mr *MockRedisJsonMockRecorder) HSet(arg0, arg1, arg2 interface{}) *gomock.Call

HSet indicates an expected call of HSet

func (*MockRedisJsonMockRecorder) Incr

func (mr *MockRedisJsonMockRecorder) Incr(arg0 interface{}) *gomock.Call

Incr indicates an expected call of Incr

func (*MockRedisJsonMockRecorder) Set

func (mr *MockRedisJsonMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call

Set indicates an expected call of Set

func (*MockRedisJsonMockRecorder) Setex

func (mr *MockRedisJsonMockRecorder) Setex(arg0, arg1, arg2 interface{}) *gomock.Call

Setex indicates an expected call of Setex

func (*MockRedisJsonMockRecorder) SetexMarshalled

func (mr *MockRedisJsonMockRecorder) SetexMarshalled(arg0, arg1, arg2 interface{}) *gomock.Call

SetexMarshalled indicates an expected call of SetexMarshalled

func (*MockRedisJsonMockRecorder) Setnx

func (mr *MockRedisJsonMockRecorder) Setnx(arg0, arg1, arg2 interface{}) *gomock.Call

Setnx indicates an expected call of Setnx

func (*MockRedisJsonMockRecorder) TTL

func (mr *MockRedisJsonMockRecorder) TTL(arg0 interface{}) *gomock.Call

TTL indicates an expected call of TTL

Jump to

Keyboard shortcuts

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