Documentation
¶
Index ¶
- type Manager
- func (_m *Manager) Connect(ctx context.Context) error
- func (_m *Manager) Del(ctx context.Context, keys ...string) error
- func (_m *Manager) EXPECT() *Manager_Expecter
- func (_m *Manager) Get(ctx context.Context, key string, bindTo interface{}) error
- func (_m *Manager) GetString(ctx context.Context, key string) string
- func (_m *Manager) HDel(ctx context.Context, key string, fields ...string) error
- func (_m *Manager) HGet(ctx context.Context, key string, field string, bindTo interface{}) error
- func (_m *Manager) HGetAll(ctx context.Context, key string, bindTo interface{}) error
- func (_m *Manager) HMGet(ctx context.Context, key string, field string, bindTo interface{}) error
- func (_m *Manager) HMSet(ctx context.Context, key string, values ...interface{}) error
- func (_m *Manager) HSet(ctx context.Context, key string, value ...interface{}) error
- func (_m *Manager) HSetWhenNotExist(ctx context.Context, key string, field string, value interface{}) error
- func (_m *Manager) MustConnect(ctx context.Context) inmemory.Manager
- func (_m *Manager) Ping() error
- func (_m *Manager) Set(ctx context.Context, key string, value interface{}) error
- func (_m *Manager) SetString(ctx context.Context, key string, value string, expire time.Duration) error
- func (_m *Manager) SetWhenNotExist(ctx context.Context, key string, value interface{}) error
- func (_m *Manager) SetWithExpire(ctx context.Context, key string, value interface{}, expire time.Duration) error
- func (_m *Manager) SetWithExpireWhenNotExist(ctx context.Context, key string, value interface{}, expire time.Duration) error
- type Manager_Connect_Call
- type Manager_Del_Call
- type Manager_Expecter
- func (_e *Manager_Expecter) Connect(ctx interface{}) *Manager_Connect_Call
- func (_e *Manager_Expecter) Del(ctx interface{}, keys ...interface{}) *Manager_Del_Call
- func (_e *Manager_Expecter) Get(ctx interface{}, key interface{}, bindTo interface{}) *Manager_Get_Call
- func (_e *Manager_Expecter) GetString(ctx interface{}, key interface{}) *Manager_GetString_Call
- func (_e *Manager_Expecter) HDel(ctx interface{}, key interface{}, fields ...interface{}) *Manager_HDel_Call
- func (_e *Manager_Expecter) HGet(ctx interface{}, key interface{}, field interface{}, bindTo interface{}) *Manager_HGet_Call
- func (_e *Manager_Expecter) HGetAll(ctx interface{}, key interface{}, bindTo interface{}) *Manager_HGetAll_Call
- func (_e *Manager_Expecter) HMGet(ctx interface{}, key interface{}, field interface{}, bindTo interface{}) *Manager_HMGet_Call
- func (_e *Manager_Expecter) HMSet(ctx interface{}, key interface{}, values ...interface{}) *Manager_HMSet_Call
- func (_e *Manager_Expecter) HSet(ctx interface{}, key interface{}, value ...interface{}) *Manager_HSet_Call
- func (_e *Manager_Expecter) HSetWhenNotExist(ctx interface{}, key interface{}, field interface{}, value interface{}) *Manager_HSetWhenNotExist_Call
- func (_e *Manager_Expecter) MustConnect(ctx interface{}) *Manager_MustConnect_Call
- func (_e *Manager_Expecter) Ping() *Manager_Ping_Call
- func (_e *Manager_Expecter) Set(ctx interface{}, key interface{}, value interface{}) *Manager_Set_Call
- func (_e *Manager_Expecter) SetString(ctx interface{}, key interface{}, value interface{}, expire interface{}) *Manager_SetString_Call
- func (_e *Manager_Expecter) SetWhenNotExist(ctx interface{}, key interface{}, value interface{}) *Manager_SetWhenNotExist_Call
- func (_e *Manager_Expecter) SetWithExpire(ctx interface{}, key interface{}, value interface{}, expire interface{}) *Manager_SetWithExpire_Call
- func (_e *Manager_Expecter) SetWithExpireWhenNotExist(ctx interface{}, key interface{}, value interface{}, expire interface{}) *Manager_SetWithExpireWhenNotExist_Call
- type Manager_GetString_Call
- type Manager_Get_Call
- type Manager_HDel_Call
- type Manager_HGetAll_Call
- func (_c *Manager_HGetAll_Call) Return(_a0 error) *Manager_HGetAll_Call
- func (_c *Manager_HGetAll_Call) Run(run func(ctx context.Context, key string, bindTo interface{})) *Manager_HGetAll_Call
- func (_c *Manager_HGetAll_Call) RunAndReturn(run func(context.Context, string, interface{}) error) *Manager_HGetAll_Call
- type Manager_HGet_Call
- func (_c *Manager_HGet_Call) Return(_a0 error) *Manager_HGet_Call
- func (_c *Manager_HGet_Call) Run(run func(ctx context.Context, key string, field string, bindTo interface{})) *Manager_HGet_Call
- func (_c *Manager_HGet_Call) RunAndReturn(run func(context.Context, string, string, interface{}) error) *Manager_HGet_Call
- type Manager_HMGet_Call
- func (_c *Manager_HMGet_Call) Return(_a0 error) *Manager_HMGet_Call
- func (_c *Manager_HMGet_Call) Run(run func(ctx context.Context, key string, field string, bindTo interface{})) *Manager_HMGet_Call
- func (_c *Manager_HMGet_Call) RunAndReturn(run func(context.Context, string, string, interface{}) error) *Manager_HMGet_Call
- type Manager_HMSet_Call
- func (_c *Manager_HMSet_Call) Return(_a0 error) *Manager_HMSet_Call
- func (_c *Manager_HMSet_Call) Run(run func(ctx context.Context, key string, values ...interface{})) *Manager_HMSet_Call
- func (_c *Manager_HMSet_Call) RunAndReturn(run func(context.Context, string, ...interface{}) error) *Manager_HMSet_Call
- type Manager_HSetWhenNotExist_Call
- func (_c *Manager_HSetWhenNotExist_Call) Return(_a0 error) *Manager_HSetWhenNotExist_Call
- func (_c *Manager_HSetWhenNotExist_Call) Run(run func(ctx context.Context, key string, field string, value interface{})) *Manager_HSetWhenNotExist_Call
- func (_c *Manager_HSetWhenNotExist_Call) RunAndReturn(run func(context.Context, string, string, interface{}) error) *Manager_HSetWhenNotExist_Call
- type Manager_HSet_Call
- func (_c *Manager_HSet_Call) Return(_a0 error) *Manager_HSet_Call
- func (_c *Manager_HSet_Call) Run(run func(ctx context.Context, key string, value ...interface{})) *Manager_HSet_Call
- func (_c *Manager_HSet_Call) RunAndReturn(run func(context.Context, string, ...interface{}) error) *Manager_HSet_Call
- type Manager_MustConnect_Call
- func (_c *Manager_MustConnect_Call) Return(_a0 inmemory.Manager) *Manager_MustConnect_Call
- func (_c *Manager_MustConnect_Call) Run(run func(ctx context.Context)) *Manager_MustConnect_Call
- func (_c *Manager_MustConnect_Call) RunAndReturn(run func(context.Context) inmemory.Manager) *Manager_MustConnect_Call
- type Manager_Ping_Call
- type Manager_SetString_Call
- func (_c *Manager_SetString_Call) Return(_a0 error) *Manager_SetString_Call
- func (_c *Manager_SetString_Call) Run(run func(ctx context.Context, key string, value string, expire time.Duration)) *Manager_SetString_Call
- func (_c *Manager_SetString_Call) RunAndReturn(run func(context.Context, string, string, time.Duration) error) *Manager_SetString_Call
- type Manager_SetWhenNotExist_Call
- func (_c *Manager_SetWhenNotExist_Call) Return(_a0 error) *Manager_SetWhenNotExist_Call
- func (_c *Manager_SetWhenNotExist_Call) Run(run func(ctx context.Context, key string, value interface{})) *Manager_SetWhenNotExist_Call
- func (_c *Manager_SetWhenNotExist_Call) RunAndReturn(run func(context.Context, string, interface{}) error) *Manager_SetWhenNotExist_Call
- type Manager_SetWithExpireWhenNotExist_Call
- func (_c *Manager_SetWithExpireWhenNotExist_Call) Return(_a0 error) *Manager_SetWithExpireWhenNotExist_Call
- func (_c *Manager_SetWithExpireWhenNotExist_Call) Run(...) *Manager_SetWithExpireWhenNotExist_Call
- func (_c *Manager_SetWithExpireWhenNotExist_Call) RunAndReturn(run func(context.Context, string, interface{}, time.Duration) error) *Manager_SetWithExpireWhenNotExist_Call
- type Manager_SetWithExpire_Call
- func (_c *Manager_SetWithExpire_Call) Return(_a0 error) *Manager_SetWithExpire_Call
- func (_c *Manager_SetWithExpire_Call) Run(...) *Manager_SetWithExpire_Call
- func (_c *Manager_SetWithExpire_Call) RunAndReturn(run func(context.Context, string, interface{}, time.Duration) error) *Manager_SetWithExpire_Call
- type Manager_Set_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
Manager is an autogenerated mock type for the Manager type
func NewManager ¶
NewManager creates a new instance of Manager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Manager) EXPECT ¶
func (_m *Manager) EXPECT() *Manager_Expecter
func (*Manager) HSetWhenNotExist ¶
func (_m *Manager) HSetWhenNotExist(ctx context.Context, key string, field string, value interface{}) error
HSetWhenNotExist provides a mock function with given fields: ctx, key, field, value
func (*Manager) MustConnect ¶
MustConnect provides a mock function with given fields: ctx
func (*Manager) SetString ¶
func (_m *Manager) SetString(ctx context.Context, key string, value string, expire time.Duration) error
SetString provides a mock function with given fields: ctx, key, value, expire
func (*Manager) SetWhenNotExist ¶
SetWhenNotExist provides a mock function with given fields: ctx, key, value
type Manager_Connect_Call ¶
Manager_Connect_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Connect'
func (*Manager_Connect_Call) Return ¶
func (_c *Manager_Connect_Call) Return(_a0 error) *Manager_Connect_Call
func (*Manager_Connect_Call) Run ¶
func (_c *Manager_Connect_Call) Run(run func(ctx context.Context)) *Manager_Connect_Call
func (*Manager_Connect_Call) RunAndReturn ¶
func (_c *Manager_Connect_Call) RunAndReturn(run func(context.Context) error) *Manager_Connect_Call
type Manager_Del_Call ¶
Manager_Del_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Del'
func (*Manager_Del_Call) Return ¶
func (_c *Manager_Del_Call) Return(_a0 error) *Manager_Del_Call
func (*Manager_Del_Call) Run ¶
func (_c *Manager_Del_Call) Run(run func(ctx context.Context, keys ...string)) *Manager_Del_Call
func (*Manager_Del_Call) RunAndReturn ¶
func (_c *Manager_Del_Call) RunAndReturn(run func(context.Context, ...string) error) *Manager_Del_Call
type Manager_Expecter ¶
type Manager_Expecter struct {
// contains filtered or unexported fields
}
func (*Manager_Expecter) Connect ¶
func (_e *Manager_Expecter) Connect(ctx interface{}) *Manager_Connect_Call
Connect is a helper method to define mock.On call
- ctx context.Context
func (*Manager_Expecter) Del ¶
func (_e *Manager_Expecter) Del(ctx interface{}, keys ...interface{}) *Manager_Del_Call
Del is a helper method to define mock.On call
- ctx context.Context
- keys ...string
func (*Manager_Expecter) Get ¶
func (_e *Manager_Expecter) Get(ctx interface{}, key interface{}, bindTo interface{}) *Manager_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- key string
- bindTo interface{}
func (*Manager_Expecter) GetString ¶
func (_e *Manager_Expecter) GetString(ctx interface{}, key interface{}) *Manager_GetString_Call
GetString is a helper method to define mock.On call
- ctx context.Context
- key string
func (*Manager_Expecter) HDel ¶
func (_e *Manager_Expecter) HDel(ctx interface{}, key interface{}, fields ...interface{}) *Manager_HDel_Call
HDel is a helper method to define mock.On call
- ctx context.Context
- key string
- fields ...string
func (*Manager_Expecter) HGet ¶
func (_e *Manager_Expecter) HGet(ctx interface{}, key interface{}, field interface{}, bindTo interface{}) *Manager_HGet_Call
HGet is a helper method to define mock.On call
- ctx context.Context
- key string
- field string
- bindTo interface{}
func (*Manager_Expecter) HGetAll ¶
func (_e *Manager_Expecter) HGetAll(ctx interface{}, key interface{}, bindTo interface{}) *Manager_HGetAll_Call
HGetAll is a helper method to define mock.On call
- ctx context.Context
- key string
- bindTo interface{}
func (*Manager_Expecter) HMGet ¶
func (_e *Manager_Expecter) HMGet(ctx interface{}, key interface{}, field interface{}, bindTo interface{}) *Manager_HMGet_Call
HMGet is a helper method to define mock.On call
- ctx context.Context
- key string
- field string
- bindTo interface{}
func (*Manager_Expecter) HMSet ¶
func (_e *Manager_Expecter) HMSet(ctx interface{}, key interface{}, values ...interface{}) *Manager_HMSet_Call
HMSet is a helper method to define mock.On call
- ctx context.Context
- key string
- values ...interface{}
func (*Manager_Expecter) HSet ¶
func (_e *Manager_Expecter) HSet(ctx interface{}, key interface{}, value ...interface{}) *Manager_HSet_Call
HSet is a helper method to define mock.On call
- ctx context.Context
- key string
- value ...interface{}
func (*Manager_Expecter) HSetWhenNotExist ¶
func (_e *Manager_Expecter) HSetWhenNotExist(ctx interface{}, key interface{}, field interface{}, value interface{}) *Manager_HSetWhenNotExist_Call
HSetWhenNotExist is a helper method to define mock.On call
- ctx context.Context
- key string
- field string
- value interface{}
func (*Manager_Expecter) MustConnect ¶
func (_e *Manager_Expecter) MustConnect(ctx interface{}) *Manager_MustConnect_Call
MustConnect is a helper method to define mock.On call
- ctx context.Context
func (*Manager_Expecter) Ping ¶
func (_e *Manager_Expecter) Ping() *Manager_Ping_Call
Ping is a helper method to define mock.On call
func (*Manager_Expecter) Set ¶
func (_e *Manager_Expecter) Set(ctx interface{}, key interface{}, value interface{}) *Manager_Set_Call
Set is a helper method to define mock.On call
- ctx context.Context
- key string
- value interface{}
func (*Manager_Expecter) SetString ¶
func (_e *Manager_Expecter) SetString(ctx interface{}, key interface{}, value interface{}, expire interface{}) *Manager_SetString_Call
SetString is a helper method to define mock.On call
- ctx context.Context
- key string
- value string
- expire time.Duration
func (*Manager_Expecter) SetWhenNotExist ¶
func (_e *Manager_Expecter) SetWhenNotExist(ctx interface{}, key interface{}, value interface{}) *Manager_SetWhenNotExist_Call
SetWhenNotExist is a helper method to define mock.On call
- ctx context.Context
- key string
- value interface{}
func (*Manager_Expecter) SetWithExpire ¶
func (_e *Manager_Expecter) SetWithExpire(ctx interface{}, key interface{}, value interface{}, expire interface{}) *Manager_SetWithExpire_Call
SetWithExpire is a helper method to define mock.On call
- ctx context.Context
- key string
- value interface{}
- expire time.Duration
func (*Manager_Expecter) SetWithExpireWhenNotExist ¶
func (_e *Manager_Expecter) SetWithExpireWhenNotExist(ctx interface{}, key interface{}, value interface{}, expire interface{}) *Manager_SetWithExpireWhenNotExist_Call
SetWithExpireWhenNotExist is a helper method to define mock.On call
- ctx context.Context
- key string
- value interface{}
- expire time.Duration
type Manager_GetString_Call ¶
Manager_GetString_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetString'
func (*Manager_GetString_Call) Return ¶
func (_c *Manager_GetString_Call) Return(_a0 string) *Manager_GetString_Call
func (*Manager_GetString_Call) Run ¶
func (_c *Manager_GetString_Call) Run(run func(ctx context.Context, key string)) *Manager_GetString_Call
func (*Manager_GetString_Call) RunAndReturn ¶
func (_c *Manager_GetString_Call) RunAndReturn(run func(context.Context, string) string) *Manager_GetString_Call
type Manager_Get_Call ¶
Manager_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*Manager_Get_Call) Return ¶
func (_c *Manager_Get_Call) Return(_a0 error) *Manager_Get_Call
func (*Manager_Get_Call) Run ¶
func (_c *Manager_Get_Call) Run(run func(ctx context.Context, key string, bindTo interface{})) *Manager_Get_Call
func (*Manager_Get_Call) RunAndReturn ¶
func (_c *Manager_Get_Call) RunAndReturn(run func(context.Context, string, interface{}) error) *Manager_Get_Call
type Manager_HDel_Call ¶
Manager_HDel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HDel'
func (*Manager_HDel_Call) Return ¶
func (_c *Manager_HDel_Call) Return(_a0 error) *Manager_HDel_Call
func (*Manager_HDel_Call) Run ¶
func (_c *Manager_HDel_Call) Run(run func(ctx context.Context, key string, fields ...string)) *Manager_HDel_Call
func (*Manager_HDel_Call) RunAndReturn ¶
func (_c *Manager_HDel_Call) RunAndReturn(run func(context.Context, string, ...string) error) *Manager_HDel_Call
type Manager_HGetAll_Call ¶
Manager_HGetAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HGetAll'
func (*Manager_HGetAll_Call) Return ¶
func (_c *Manager_HGetAll_Call) Return(_a0 error) *Manager_HGetAll_Call
func (*Manager_HGetAll_Call) Run ¶
func (_c *Manager_HGetAll_Call) Run(run func(ctx context.Context, key string, bindTo interface{})) *Manager_HGetAll_Call
func (*Manager_HGetAll_Call) RunAndReturn ¶
func (_c *Manager_HGetAll_Call) RunAndReturn(run func(context.Context, string, interface{}) error) *Manager_HGetAll_Call
type Manager_HGet_Call ¶
Manager_HGet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HGet'
func (*Manager_HGet_Call) Return ¶
func (_c *Manager_HGet_Call) Return(_a0 error) *Manager_HGet_Call
func (*Manager_HGet_Call) Run ¶
func (_c *Manager_HGet_Call) Run(run func(ctx context.Context, key string, field string, bindTo interface{})) *Manager_HGet_Call
func (*Manager_HGet_Call) RunAndReturn ¶
func (_c *Manager_HGet_Call) RunAndReturn(run func(context.Context, string, string, interface{}) error) *Manager_HGet_Call
type Manager_HMGet_Call ¶
Manager_HMGet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HMGet'
func (*Manager_HMGet_Call) Return ¶
func (_c *Manager_HMGet_Call) Return(_a0 error) *Manager_HMGet_Call
func (*Manager_HMGet_Call) Run ¶
func (_c *Manager_HMGet_Call) Run(run func(ctx context.Context, key string, field string, bindTo interface{})) *Manager_HMGet_Call
func (*Manager_HMGet_Call) RunAndReturn ¶
func (_c *Manager_HMGet_Call) RunAndReturn(run func(context.Context, string, string, interface{}) error) *Manager_HMGet_Call
type Manager_HMSet_Call ¶
Manager_HMSet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HMSet'
func (*Manager_HMSet_Call) Return ¶
func (_c *Manager_HMSet_Call) Return(_a0 error) *Manager_HMSet_Call
func (*Manager_HMSet_Call) Run ¶
func (_c *Manager_HMSet_Call) Run(run func(ctx context.Context, key string, values ...interface{})) *Manager_HMSet_Call
func (*Manager_HMSet_Call) RunAndReturn ¶
func (_c *Manager_HMSet_Call) RunAndReturn(run func(context.Context, string, ...interface{}) error) *Manager_HMSet_Call
type Manager_HSetWhenNotExist_Call ¶
Manager_HSetWhenNotExist_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HSetWhenNotExist'
func (*Manager_HSetWhenNotExist_Call) Return ¶
func (_c *Manager_HSetWhenNotExist_Call) Return(_a0 error) *Manager_HSetWhenNotExist_Call
func (*Manager_HSetWhenNotExist_Call) Run ¶
func (_c *Manager_HSetWhenNotExist_Call) Run(run func(ctx context.Context, key string, field string, value interface{})) *Manager_HSetWhenNotExist_Call
func (*Manager_HSetWhenNotExist_Call) RunAndReturn ¶
func (_c *Manager_HSetWhenNotExist_Call) RunAndReturn(run func(context.Context, string, string, interface{}) error) *Manager_HSetWhenNotExist_Call
type Manager_HSet_Call ¶
Manager_HSet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HSet'
func (*Manager_HSet_Call) Return ¶
func (_c *Manager_HSet_Call) Return(_a0 error) *Manager_HSet_Call
func (*Manager_HSet_Call) Run ¶
func (_c *Manager_HSet_Call) Run(run func(ctx context.Context, key string, value ...interface{})) *Manager_HSet_Call
func (*Manager_HSet_Call) RunAndReturn ¶
func (_c *Manager_HSet_Call) RunAndReturn(run func(context.Context, string, ...interface{}) error) *Manager_HSet_Call
type Manager_MustConnect_Call ¶
Manager_MustConnect_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MustConnect'
func (*Manager_MustConnect_Call) Return ¶
func (_c *Manager_MustConnect_Call) Return(_a0 inmemory.Manager) *Manager_MustConnect_Call
func (*Manager_MustConnect_Call) Run ¶
func (_c *Manager_MustConnect_Call) Run(run func(ctx context.Context)) *Manager_MustConnect_Call
func (*Manager_MustConnect_Call) RunAndReturn ¶
func (_c *Manager_MustConnect_Call) RunAndReturn(run func(context.Context) inmemory.Manager) *Manager_MustConnect_Call
type Manager_Ping_Call ¶
Manager_Ping_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Ping'
func (*Manager_Ping_Call) Return ¶
func (_c *Manager_Ping_Call) Return(_a0 error) *Manager_Ping_Call
func (*Manager_Ping_Call) Run ¶
func (_c *Manager_Ping_Call) Run(run func()) *Manager_Ping_Call
func (*Manager_Ping_Call) RunAndReturn ¶
func (_c *Manager_Ping_Call) RunAndReturn(run func() error) *Manager_Ping_Call
type Manager_SetString_Call ¶
Manager_SetString_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetString'
func (*Manager_SetString_Call) Return ¶
func (_c *Manager_SetString_Call) Return(_a0 error) *Manager_SetString_Call
func (*Manager_SetString_Call) Run ¶
func (_c *Manager_SetString_Call) Run(run func(ctx context.Context, key string, value string, expire time.Duration)) *Manager_SetString_Call
func (*Manager_SetString_Call) RunAndReturn ¶
func (_c *Manager_SetString_Call) RunAndReturn(run func(context.Context, string, string, time.Duration) error) *Manager_SetString_Call
type Manager_SetWhenNotExist_Call ¶
Manager_SetWhenNotExist_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetWhenNotExist'
func (*Manager_SetWhenNotExist_Call) Return ¶
func (_c *Manager_SetWhenNotExist_Call) Return(_a0 error) *Manager_SetWhenNotExist_Call
func (*Manager_SetWhenNotExist_Call) Run ¶
func (_c *Manager_SetWhenNotExist_Call) Run(run func(ctx context.Context, key string, value interface{})) *Manager_SetWhenNotExist_Call
func (*Manager_SetWhenNotExist_Call) RunAndReturn ¶
func (_c *Manager_SetWhenNotExist_Call) RunAndReturn(run func(context.Context, string, interface{}) error) *Manager_SetWhenNotExist_Call
type Manager_SetWithExpireWhenNotExist_Call ¶
Manager_SetWithExpireWhenNotExist_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetWithExpireWhenNotExist'
func (*Manager_SetWithExpireWhenNotExist_Call) Return ¶
func (_c *Manager_SetWithExpireWhenNotExist_Call) Return(_a0 error) *Manager_SetWithExpireWhenNotExist_Call
func (*Manager_SetWithExpireWhenNotExist_Call) Run ¶
func (_c *Manager_SetWithExpireWhenNotExist_Call) Run(run func(ctx context.Context, key string, value interface{}, expire time.Duration)) *Manager_SetWithExpireWhenNotExist_Call
func (*Manager_SetWithExpireWhenNotExist_Call) RunAndReturn ¶
func (_c *Manager_SetWithExpireWhenNotExist_Call) RunAndReturn(run func(context.Context, string, interface{}, time.Duration) error) *Manager_SetWithExpireWhenNotExist_Call
type Manager_SetWithExpire_Call ¶
Manager_SetWithExpire_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetWithExpire'
func (*Manager_SetWithExpire_Call) Return ¶
func (_c *Manager_SetWithExpire_Call) Return(_a0 error) *Manager_SetWithExpire_Call
func (*Manager_SetWithExpire_Call) Run ¶
func (_c *Manager_SetWithExpire_Call) Run(run func(ctx context.Context, key string, value interface{}, expire time.Duration)) *Manager_SetWithExpire_Call
func (*Manager_SetWithExpire_Call) RunAndReturn ¶
func (_c *Manager_SetWithExpire_Call) RunAndReturn(run func(context.Context, string, interface{}, time.Duration) error) *Manager_SetWithExpire_Call
type Manager_Set_Call ¶
Manager_Set_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Set'
func (*Manager_Set_Call) Return ¶
func (_c *Manager_Set_Call) Return(_a0 error) *Manager_Set_Call
func (*Manager_Set_Call) Run ¶
func (_c *Manager_Set_Call) Run(run func(ctx context.Context, key string, value interface{})) *Manager_Set_Call
func (*Manager_Set_Call) RunAndReturn ¶
func (_c *Manager_Set_Call) RunAndReturn(run func(context.Context, string, interface{}) error) *Manager_Set_Call