Documentation ¶
Overview ¶
Package redisjson is a generated GoMock package.
Index ¶
- func NewRedisJson(redis bridge.Redis, json bridge.Json) *redisJson
- type MockRedisJson
- func (m *MockRedisJson) Close() error
- func (m *MockRedisJson) Decr(arg0 string) (int64, error)
- func (m *MockRedisJson) Del(arg0 ...interface{}) (int64, error)
- func (m *MockRedisJson) EXPECT() *MockRedisJsonMockRecorder
- func (m *MockRedisJson) Exists(arg0 string) (bool, error)
- func (m *MockRedisJson) Expire(arg0 string, arg1 int) (bool, error)
- func (m *MockRedisJson) ExpireAt(arg0 string, arg1 int64) (bool, error)
- func (m *MockRedisJson) Get(arg0 string) ([]byte, error)
- func (m *MockRedisJson) GetUnmarshalled(arg0 string, arg1 interface{}) error
- func (m *MockRedisJson) HDel(arg0 string, arg1 ...string) (int64, error)
- func (m *MockRedisJson) HExists(arg0, arg1 string) (bool, error)
- func (m *MockRedisJson) HGet(arg0, arg1 string) ([]byte, error)
- func (m *MockRedisJson) HGetAll(arg0 string) (map[string]string, error)
- func (m *MockRedisJson) HKeys(arg0 string) ([]string, error)
- func (m *MockRedisJson) HMGet(arg0 string, arg1 ...string) ([][]byte, error)
- func (m *MockRedisJson) HSet(arg0, arg1, arg2 string) (bool, error)
- func (m *MockRedisJson) Incr(arg0 string) (int64, error)
- func (m *MockRedisJson) Set(arg0, arg1 string) error
- func (m *MockRedisJson) Setex(arg0 string, arg1 int, arg2 string) error
- func (m *MockRedisJson) SetexMarshalled(arg0 string, arg1 int, arg2 interface{}) error
- func (m *MockRedisJson) Setnx(arg0 string, arg1 int, arg2 string) (bool, error)
- func (m *MockRedisJson) TTL(arg0 string) (int64, error)
- type MockRedisJsonMockRecorder
- func (mr *MockRedisJsonMockRecorder) Close() *gomock.Call
- func (mr *MockRedisJsonMockRecorder) Decr(arg0 interface{}) *gomock.Call
- func (mr *MockRedisJsonMockRecorder) Del(arg0 ...interface{}) *gomock.Call
- func (mr *MockRedisJsonMockRecorder) Exists(arg0 interface{}) *gomock.Call
- func (mr *MockRedisJsonMockRecorder) Expire(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRedisJsonMockRecorder) ExpireAt(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRedisJsonMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockRedisJsonMockRecorder) GetUnmarshalled(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRedisJsonMockRecorder) HDel(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockRedisJsonMockRecorder) HExists(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRedisJsonMockRecorder) HGet(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRedisJsonMockRecorder) HGetAll(arg0 interface{}) *gomock.Call
- func (mr *MockRedisJsonMockRecorder) HKeys(arg0 interface{}) *gomock.Call
- func (mr *MockRedisJsonMockRecorder) HMGet(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockRedisJsonMockRecorder) HSet(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRedisJsonMockRecorder) Incr(arg0 interface{}) *gomock.Call
- func (mr *MockRedisJsonMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRedisJsonMockRecorder) Setex(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRedisJsonMockRecorder) SetexMarshalled(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRedisJsonMockRecorder) Setnx(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRedisJsonMockRecorder) TTL(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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) 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 ¶
func (m *MockRedisJson) EXPECT() *MockRedisJsonMockRecorder
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
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