Documentation ¶
Index ¶
- type Driver
- func (_m *Driver) Close() error
- func (_m *Driver) Destroy(id string) error
- func (_m *Driver) EXPECT() *Driver_Expecter
- func (_m *Driver) Gc(maxLifetime int) error
- func (_m *Driver) Open(path string, name string) error
- func (_m *Driver) Read(id string) (string, error)
- func (_m *Driver) Write(id string, data string) error
- type Driver_Close_Call
- type Driver_Destroy_Call
- type Driver_Expecter
- func (_e *Driver_Expecter) Close() *Driver_Close_Call
- func (_e *Driver_Expecter) Destroy(id interface{}) *Driver_Destroy_Call
- func (_e *Driver_Expecter) Gc(maxLifetime interface{}) *Driver_Gc_Call
- func (_e *Driver_Expecter) Open(path interface{}, name interface{}) *Driver_Open_Call
- func (_e *Driver_Expecter) Read(id interface{}) *Driver_Read_Call
- func (_e *Driver_Expecter) Write(id interface{}, data interface{}) *Driver_Write_Call
- type Driver_Gc_Call
- type Driver_Open_Call
- type Driver_Read_Call
- type Driver_Write_Call
- type Manager
- type Manager_BuildSession_Call
- func (_c *Manager_BuildSession_Call) Return(_a0 session.Session) *Manager_BuildSession_Call
- func (_c *Manager_BuildSession_Call) Run(run func(handler session.Driver, sessionID ...string)) *Manager_BuildSession_Call
- func (_c *Manager_BuildSession_Call) RunAndReturn(run func(session.Driver, ...string) session.Session) *Manager_BuildSession_Call
- type Manager_Driver_Call
- type Manager_Expecter
- type Manager_Extend_Call
- func (_c *Manager_Extend_Call) Return(_a0 session.Manager) *Manager_Extend_Call
- func (_c *Manager_Extend_Call) Run(run func(driver string, handler func() session.Driver)) *Manager_Extend_Call
- func (_c *Manager_Extend_Call) RunAndReturn(run func(string, func() session.Driver) session.Manager) *Manager_Extend_Call
- type Session
- func (_m *Session) All() map[string]interface{}
- func (_m *Session) EXPECT() *Session_Expecter
- func (_m *Session) Exists(key string) bool
- func (_m *Session) Flash(key string, value interface{}) session.Session
- func (_m *Session) Flush() session.Session
- func (_m *Session) Forget(keys ...string) session.Session
- func (_m *Session) Get(key string, defaultValue ...interface{}) interface{}
- func (_m *Session) GetID() string
- func (_m *Session) GetName() string
- func (_m *Session) Has(key string) bool
- func (_m *Session) Invalidate() error
- func (_m *Session) Keep(keys ...string) session.Session
- func (_m *Session) Missing(key string) bool
- func (_m *Session) Now(key string, value interface{}) session.Session
- func (_m *Session) Only(keys []string) map[string]interface{}
- func (_m *Session) Pull(key string, defaultValue ...interface{}) interface{}
- func (_m *Session) Put(key string, value interface{}) session.Session
- func (_m *Session) Reflash() session.Session
- func (_m *Session) Regenerate(destroy ...bool) error
- func (_m *Session) Remove(key string) interface{}
- func (_m *Session) Save() error
- func (_m *Session) SetID(id string) session.Session
- func (_m *Session) SetName(name string) session.Session
- func (_m *Session) Start() bool
- func (_m *Session) Token() string
- type Session_All_Call
- type Session_Exists_Call
- type Session_Expecter
- func (_e *Session_Expecter) All() *Session_All_Call
- func (_e *Session_Expecter) Exists(key interface{}) *Session_Exists_Call
- func (_e *Session_Expecter) Flash(key interface{}, value interface{}) *Session_Flash_Call
- func (_e *Session_Expecter) Flush() *Session_Flush_Call
- func (_e *Session_Expecter) Forget(keys ...interface{}) *Session_Forget_Call
- func (_e *Session_Expecter) Get(key interface{}, defaultValue ...interface{}) *Session_Get_Call
- func (_e *Session_Expecter) GetID() *Session_GetID_Call
- func (_e *Session_Expecter) GetName() *Session_GetName_Call
- func (_e *Session_Expecter) Has(key interface{}) *Session_Has_Call
- func (_e *Session_Expecter) Invalidate() *Session_Invalidate_Call
- func (_e *Session_Expecter) Keep(keys ...interface{}) *Session_Keep_Call
- func (_e *Session_Expecter) Missing(key interface{}) *Session_Missing_Call
- func (_e *Session_Expecter) Now(key interface{}, value interface{}) *Session_Now_Call
- func (_e *Session_Expecter) Only(keys interface{}) *Session_Only_Call
- func (_e *Session_Expecter) Pull(key interface{}, defaultValue ...interface{}) *Session_Pull_Call
- func (_e *Session_Expecter) Put(key interface{}, value interface{}) *Session_Put_Call
- func (_e *Session_Expecter) Reflash() *Session_Reflash_Call
- func (_e *Session_Expecter) Regenerate(destroy ...interface{}) *Session_Regenerate_Call
- func (_e *Session_Expecter) Remove(key interface{}) *Session_Remove_Call
- func (_e *Session_Expecter) Save() *Session_Save_Call
- func (_e *Session_Expecter) SetID(id interface{}) *Session_SetID_Call
- func (_e *Session_Expecter) SetName(name interface{}) *Session_SetName_Call
- func (_e *Session_Expecter) Start() *Session_Start_Call
- func (_e *Session_Expecter) Token() *Session_Token_Call
- type Session_Flash_Call
- type Session_Flush_Call
- type Session_Forget_Call
- type Session_GetID_Call
- type Session_GetName_Call
- type Session_Get_Call
- type Session_Has_Call
- type Session_Invalidate_Call
- type Session_Keep_Call
- type Session_Missing_Call
- type Session_Now_Call
- type Session_Only_Call
- type Session_Pull_Call
- type Session_Put_Call
- type Session_Reflash_Call
- type Session_Regenerate_Call
- type Session_Remove_Call
- type Session_Save_Call
- type Session_SetID_Call
- type Session_SetName_Call
- type Session_Start_Call
- type Session_Token_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
Driver is an autogenerated mock type for the Driver type
func NewDriver ¶
NewDriver creates a new instance of Driver. 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 (*Driver) EXPECT ¶
func (_m *Driver) EXPECT() *Driver_Expecter
type Driver_Close_Call ¶
Driver_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*Driver_Close_Call) Return ¶
func (_c *Driver_Close_Call) Return(_a0 error) *Driver_Close_Call
func (*Driver_Close_Call) Run ¶
func (_c *Driver_Close_Call) Run(run func()) *Driver_Close_Call
func (*Driver_Close_Call) RunAndReturn ¶
func (_c *Driver_Close_Call) RunAndReturn(run func() error) *Driver_Close_Call
type Driver_Destroy_Call ¶
Driver_Destroy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Destroy'
func (*Driver_Destroy_Call) Return ¶
func (_c *Driver_Destroy_Call) Return(_a0 error) *Driver_Destroy_Call
func (*Driver_Destroy_Call) Run ¶
func (_c *Driver_Destroy_Call) Run(run func(id string)) *Driver_Destroy_Call
func (*Driver_Destroy_Call) RunAndReturn ¶
func (_c *Driver_Destroy_Call) RunAndReturn(run func(string) error) *Driver_Destroy_Call
type Driver_Expecter ¶
type Driver_Expecter struct {
// contains filtered or unexported fields
}
func (*Driver_Expecter) Close ¶
func (_e *Driver_Expecter) Close() *Driver_Close_Call
Close is a helper method to define mock.On call
func (*Driver_Expecter) Destroy ¶
func (_e *Driver_Expecter) Destroy(id interface{}) *Driver_Destroy_Call
Destroy is a helper method to define mock.On call
- id string
func (*Driver_Expecter) Gc ¶
func (_e *Driver_Expecter) Gc(maxLifetime interface{}) *Driver_Gc_Call
Gc is a helper method to define mock.On call
- maxLifetime int
func (*Driver_Expecter) Open ¶
func (_e *Driver_Expecter) Open(path interface{}, name interface{}) *Driver_Open_Call
Open is a helper method to define mock.On call
- path string
- name string
func (*Driver_Expecter) Read ¶
func (_e *Driver_Expecter) Read(id interface{}) *Driver_Read_Call
Read is a helper method to define mock.On call
- id string
func (*Driver_Expecter) Write ¶
func (_e *Driver_Expecter) Write(id interface{}, data interface{}) *Driver_Write_Call
Write is a helper method to define mock.On call
- id string
- data string
type Driver_Gc_Call ¶
Driver_Gc_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Gc'
func (*Driver_Gc_Call) Return ¶
func (_c *Driver_Gc_Call) Return(_a0 error) *Driver_Gc_Call
func (*Driver_Gc_Call) Run ¶
func (_c *Driver_Gc_Call) Run(run func(maxLifetime int)) *Driver_Gc_Call
func (*Driver_Gc_Call) RunAndReturn ¶
func (_c *Driver_Gc_Call) RunAndReturn(run func(int) error) *Driver_Gc_Call
type Driver_Open_Call ¶
Driver_Open_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Open'
func (*Driver_Open_Call) Return ¶
func (_c *Driver_Open_Call) Return(_a0 error) *Driver_Open_Call
func (*Driver_Open_Call) Run ¶
func (_c *Driver_Open_Call) Run(run func(path string, name string)) *Driver_Open_Call
func (*Driver_Open_Call) RunAndReturn ¶
func (_c *Driver_Open_Call) RunAndReturn(run func(string, string) error) *Driver_Open_Call
type Driver_Read_Call ¶
Driver_Read_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Read'
func (*Driver_Read_Call) Return ¶
func (_c *Driver_Read_Call) Return(_a0 string, _a1 error) *Driver_Read_Call
func (*Driver_Read_Call) Run ¶
func (_c *Driver_Read_Call) Run(run func(id string)) *Driver_Read_Call
func (*Driver_Read_Call) RunAndReturn ¶
func (_c *Driver_Read_Call) RunAndReturn(run func(string) (string, error)) *Driver_Read_Call
type Driver_Write_Call ¶
Driver_Write_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Write'
func (*Driver_Write_Call) Return ¶
func (_c *Driver_Write_Call) Return(_a0 error) *Driver_Write_Call
func (*Driver_Write_Call) Run ¶
func (_c *Driver_Write_Call) Run(run func(id string, data string)) *Driver_Write_Call
func (*Driver_Write_Call) RunAndReturn ¶
func (_c *Driver_Write_Call) RunAndReturn(run func(string, string) error) *Driver_Write_Call
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) BuildSession ¶
BuildSession provides a mock function with given fields: handler, sessionID
func (*Manager) EXPECT ¶
func (_m *Manager) EXPECT() *Manager_Expecter
type Manager_BuildSession_Call ¶
Manager_BuildSession_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BuildSession'
func (*Manager_BuildSession_Call) Return ¶
func (_c *Manager_BuildSession_Call) Return(_a0 session.Session) *Manager_BuildSession_Call
func (*Manager_BuildSession_Call) Run ¶
func (_c *Manager_BuildSession_Call) Run(run func(handler session.Driver, sessionID ...string)) *Manager_BuildSession_Call
func (*Manager_BuildSession_Call) RunAndReturn ¶
func (_c *Manager_BuildSession_Call) RunAndReturn(run func(session.Driver, ...string) session.Session) *Manager_BuildSession_Call
type Manager_Driver_Call ¶
Manager_Driver_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Driver'
func (*Manager_Driver_Call) Return ¶
func (_c *Manager_Driver_Call) Return(_a0 session.Driver, _a1 error) *Manager_Driver_Call
func (*Manager_Driver_Call) Run ¶
func (_c *Manager_Driver_Call) Run(run func(name ...string)) *Manager_Driver_Call
func (*Manager_Driver_Call) RunAndReturn ¶
func (_c *Manager_Driver_Call) RunAndReturn(run func(...string) (session.Driver, error)) *Manager_Driver_Call
type Manager_Expecter ¶
type Manager_Expecter struct {
// contains filtered or unexported fields
}
func (*Manager_Expecter) BuildSession ¶
func (_e *Manager_Expecter) BuildSession(handler interface{}, sessionID ...interface{}) *Manager_BuildSession_Call
BuildSession is a helper method to define mock.On call
- handler session.Driver
- sessionID ...string
func (*Manager_Expecter) Driver ¶
func (_e *Manager_Expecter) Driver(name ...interface{}) *Manager_Driver_Call
Driver is a helper method to define mock.On call
- name ...string
func (*Manager_Expecter) Extend ¶
func (_e *Manager_Expecter) Extend(driver interface{}, handler interface{}) *Manager_Extend_Call
Extend is a helper method to define mock.On call
- driver string
- handler func() session.Driver
type Manager_Extend_Call ¶
Manager_Extend_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Extend'
func (*Manager_Extend_Call) Return ¶
func (_c *Manager_Extend_Call) Return(_a0 session.Manager) *Manager_Extend_Call
func (*Manager_Extend_Call) Run ¶
func (_c *Manager_Extend_Call) Run(run func(driver string, handler func() session.Driver)) *Manager_Extend_Call
func (*Manager_Extend_Call) RunAndReturn ¶
func (_c *Manager_Extend_Call) RunAndReturn(run func(string, func() session.Driver) session.Manager) *Manager_Extend_Call
type Session ¶
Session is an autogenerated mock type for the Session type
func NewSession ¶
NewSession creates a new instance of Session. 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 (*Session) EXPECT ¶
func (_m *Session) EXPECT() *Session_Expecter
func (*Session) Invalidate ¶
Invalidate provides a mock function with given fields:
func (*Session) Regenerate ¶
Regenerate provides a mock function with given fields: destroy
type Session_All_Call ¶
Session_All_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'All'
func (*Session_All_Call) Return ¶
func (_c *Session_All_Call) Return(_a0 map[string]interface{}) *Session_All_Call
func (*Session_All_Call) Run ¶
func (_c *Session_All_Call) Run(run func()) *Session_All_Call
func (*Session_All_Call) RunAndReturn ¶
func (_c *Session_All_Call) RunAndReturn(run func() map[string]interface{}) *Session_All_Call
type Session_Exists_Call ¶
Session_Exists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exists'
func (*Session_Exists_Call) Return ¶
func (_c *Session_Exists_Call) Return(_a0 bool) *Session_Exists_Call
func (*Session_Exists_Call) Run ¶
func (_c *Session_Exists_Call) Run(run func(key string)) *Session_Exists_Call
func (*Session_Exists_Call) RunAndReturn ¶
func (_c *Session_Exists_Call) RunAndReturn(run func(string) bool) *Session_Exists_Call
type Session_Expecter ¶
type Session_Expecter struct {
// contains filtered or unexported fields
}
func (*Session_Expecter) All ¶
func (_e *Session_Expecter) All() *Session_All_Call
All is a helper method to define mock.On call
func (*Session_Expecter) Exists ¶
func (_e *Session_Expecter) Exists(key interface{}) *Session_Exists_Call
Exists is a helper method to define mock.On call
- key string
func (*Session_Expecter) Flash ¶
func (_e *Session_Expecter) Flash(key interface{}, value interface{}) *Session_Flash_Call
Flash is a helper method to define mock.On call
- key string
- value interface{}
func (*Session_Expecter) Flush ¶
func (_e *Session_Expecter) Flush() *Session_Flush_Call
Flush is a helper method to define mock.On call
func (*Session_Expecter) Forget ¶
func (_e *Session_Expecter) Forget(keys ...interface{}) *Session_Forget_Call
Forget is a helper method to define mock.On call
- keys ...string
func (*Session_Expecter) Get ¶
func (_e *Session_Expecter) Get(key interface{}, defaultValue ...interface{}) *Session_Get_Call
Get is a helper method to define mock.On call
- key string
- defaultValue ...interface{}
func (*Session_Expecter) GetID ¶
func (_e *Session_Expecter) GetID() *Session_GetID_Call
GetID is a helper method to define mock.On call
func (*Session_Expecter) GetName ¶
func (_e *Session_Expecter) GetName() *Session_GetName_Call
GetName is a helper method to define mock.On call
func (*Session_Expecter) Has ¶
func (_e *Session_Expecter) Has(key interface{}) *Session_Has_Call
Has is a helper method to define mock.On call
- key string
func (*Session_Expecter) Invalidate ¶
func (_e *Session_Expecter) Invalidate() *Session_Invalidate_Call
Invalidate is a helper method to define mock.On call
func (*Session_Expecter) Keep ¶
func (_e *Session_Expecter) Keep(keys ...interface{}) *Session_Keep_Call
Keep is a helper method to define mock.On call
- keys ...string
func (*Session_Expecter) Missing ¶
func (_e *Session_Expecter) Missing(key interface{}) *Session_Missing_Call
Missing is a helper method to define mock.On call
- key string
func (*Session_Expecter) Now ¶
func (_e *Session_Expecter) Now(key interface{}, value interface{}) *Session_Now_Call
Now is a helper method to define mock.On call
- key string
- value interface{}
func (*Session_Expecter) Only ¶
func (_e *Session_Expecter) Only(keys interface{}) *Session_Only_Call
Only is a helper method to define mock.On call
- keys []string
func (*Session_Expecter) Pull ¶
func (_e *Session_Expecter) Pull(key interface{}, defaultValue ...interface{}) *Session_Pull_Call
Pull is a helper method to define mock.On call
- key string
- defaultValue ...interface{}
func (*Session_Expecter) Put ¶
func (_e *Session_Expecter) Put(key interface{}, value interface{}) *Session_Put_Call
Put is a helper method to define mock.On call
- key string
- value interface{}
func (*Session_Expecter) Reflash ¶
func (_e *Session_Expecter) Reflash() *Session_Reflash_Call
Reflash is a helper method to define mock.On call
func (*Session_Expecter) Regenerate ¶
func (_e *Session_Expecter) Regenerate(destroy ...interface{}) *Session_Regenerate_Call
Regenerate is a helper method to define mock.On call
- destroy ...bool
func (*Session_Expecter) Remove ¶
func (_e *Session_Expecter) Remove(key interface{}) *Session_Remove_Call
Remove is a helper method to define mock.On call
- key string
func (*Session_Expecter) Save ¶
func (_e *Session_Expecter) Save() *Session_Save_Call
Save is a helper method to define mock.On call
func (*Session_Expecter) SetID ¶
func (_e *Session_Expecter) SetID(id interface{}) *Session_SetID_Call
SetID is a helper method to define mock.On call
- id string
func (*Session_Expecter) SetName ¶
func (_e *Session_Expecter) SetName(name interface{}) *Session_SetName_Call
SetName is a helper method to define mock.On call
- name string
func (*Session_Expecter) Start ¶
func (_e *Session_Expecter) Start() *Session_Start_Call
Start is a helper method to define mock.On call
func (*Session_Expecter) Token ¶
func (_e *Session_Expecter) Token() *Session_Token_Call
Token is a helper method to define mock.On call
type Session_Flash_Call ¶
Session_Flash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Flash'
func (*Session_Flash_Call) Return ¶
func (_c *Session_Flash_Call) Return(_a0 session.Session) *Session_Flash_Call
func (*Session_Flash_Call) Run ¶
func (_c *Session_Flash_Call) Run(run func(key string, value interface{})) *Session_Flash_Call
func (*Session_Flash_Call) RunAndReturn ¶
func (_c *Session_Flash_Call) RunAndReturn(run func(string, interface{}) session.Session) *Session_Flash_Call
type Session_Flush_Call ¶
Session_Flush_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Flush'
func (*Session_Flush_Call) Return ¶
func (_c *Session_Flush_Call) Return(_a0 session.Session) *Session_Flush_Call
func (*Session_Flush_Call) Run ¶
func (_c *Session_Flush_Call) Run(run func()) *Session_Flush_Call
func (*Session_Flush_Call) RunAndReturn ¶
func (_c *Session_Flush_Call) RunAndReturn(run func() session.Session) *Session_Flush_Call
type Session_Forget_Call ¶
Session_Forget_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Forget'
func (*Session_Forget_Call) Return ¶
func (_c *Session_Forget_Call) Return(_a0 session.Session) *Session_Forget_Call
func (*Session_Forget_Call) Run ¶
func (_c *Session_Forget_Call) Run(run func(keys ...string)) *Session_Forget_Call
func (*Session_Forget_Call) RunAndReturn ¶
func (_c *Session_Forget_Call) RunAndReturn(run func(...string) session.Session) *Session_Forget_Call
type Session_GetID_Call ¶
Session_GetID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetID'
func (*Session_GetID_Call) Return ¶
func (_c *Session_GetID_Call) Return(_a0 string) *Session_GetID_Call
func (*Session_GetID_Call) Run ¶
func (_c *Session_GetID_Call) Run(run func()) *Session_GetID_Call
func (*Session_GetID_Call) RunAndReturn ¶
func (_c *Session_GetID_Call) RunAndReturn(run func() string) *Session_GetID_Call
type Session_GetName_Call ¶
Session_GetName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetName'
func (*Session_GetName_Call) Return ¶
func (_c *Session_GetName_Call) Return(_a0 string) *Session_GetName_Call
func (*Session_GetName_Call) Run ¶
func (_c *Session_GetName_Call) Run(run func()) *Session_GetName_Call
func (*Session_GetName_Call) RunAndReturn ¶
func (_c *Session_GetName_Call) RunAndReturn(run func() string) *Session_GetName_Call
type Session_Get_Call ¶
Session_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*Session_Get_Call) Return ¶
func (_c *Session_Get_Call) Return(_a0 interface{}) *Session_Get_Call
func (*Session_Get_Call) Run ¶
func (_c *Session_Get_Call) Run(run func(key string, defaultValue ...interface{})) *Session_Get_Call
func (*Session_Get_Call) RunAndReturn ¶
func (_c *Session_Get_Call) RunAndReturn(run func(string, ...interface{}) interface{}) *Session_Get_Call
type Session_Has_Call ¶
Session_Has_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Has'
func (*Session_Has_Call) Return ¶
func (_c *Session_Has_Call) Return(_a0 bool) *Session_Has_Call
func (*Session_Has_Call) Run ¶
func (_c *Session_Has_Call) Run(run func(key string)) *Session_Has_Call
func (*Session_Has_Call) RunAndReturn ¶
func (_c *Session_Has_Call) RunAndReturn(run func(string) bool) *Session_Has_Call
type Session_Invalidate_Call ¶
Session_Invalidate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Invalidate'
func (*Session_Invalidate_Call) Return ¶
func (_c *Session_Invalidate_Call) Return(_a0 error) *Session_Invalidate_Call
func (*Session_Invalidate_Call) Run ¶
func (_c *Session_Invalidate_Call) Run(run func()) *Session_Invalidate_Call
func (*Session_Invalidate_Call) RunAndReturn ¶
func (_c *Session_Invalidate_Call) RunAndReturn(run func() error) *Session_Invalidate_Call
type Session_Keep_Call ¶
Session_Keep_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Keep'
func (*Session_Keep_Call) Return ¶
func (_c *Session_Keep_Call) Return(_a0 session.Session) *Session_Keep_Call
func (*Session_Keep_Call) Run ¶
func (_c *Session_Keep_Call) Run(run func(keys ...string)) *Session_Keep_Call
func (*Session_Keep_Call) RunAndReturn ¶
func (_c *Session_Keep_Call) RunAndReturn(run func(...string) session.Session) *Session_Keep_Call
type Session_Missing_Call ¶
Session_Missing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Missing'
func (*Session_Missing_Call) Return ¶
func (_c *Session_Missing_Call) Return(_a0 bool) *Session_Missing_Call
func (*Session_Missing_Call) Run ¶
func (_c *Session_Missing_Call) Run(run func(key string)) *Session_Missing_Call
func (*Session_Missing_Call) RunAndReturn ¶
func (_c *Session_Missing_Call) RunAndReturn(run func(string) bool) *Session_Missing_Call
type Session_Now_Call ¶
Session_Now_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Now'
func (*Session_Now_Call) Return ¶
func (_c *Session_Now_Call) Return(_a0 session.Session) *Session_Now_Call
func (*Session_Now_Call) Run ¶
func (_c *Session_Now_Call) Run(run func(key string, value interface{})) *Session_Now_Call
func (*Session_Now_Call) RunAndReturn ¶
func (_c *Session_Now_Call) RunAndReturn(run func(string, interface{}) session.Session) *Session_Now_Call
type Session_Only_Call ¶
Session_Only_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Only'
func (*Session_Only_Call) Return ¶
func (_c *Session_Only_Call) Return(_a0 map[string]interface{}) *Session_Only_Call
func (*Session_Only_Call) Run ¶
func (_c *Session_Only_Call) Run(run func(keys []string)) *Session_Only_Call
func (*Session_Only_Call) RunAndReturn ¶
func (_c *Session_Only_Call) RunAndReturn(run func([]string) map[string]interface{}) *Session_Only_Call
type Session_Pull_Call ¶
Session_Pull_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Pull'
func (*Session_Pull_Call) Return ¶
func (_c *Session_Pull_Call) Return(_a0 interface{}) *Session_Pull_Call
func (*Session_Pull_Call) Run ¶
func (_c *Session_Pull_Call) Run(run func(key string, defaultValue ...interface{})) *Session_Pull_Call
func (*Session_Pull_Call) RunAndReturn ¶
func (_c *Session_Pull_Call) RunAndReturn(run func(string, ...interface{}) interface{}) *Session_Pull_Call
type Session_Put_Call ¶
Session_Put_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Put'
func (*Session_Put_Call) Return ¶
func (_c *Session_Put_Call) Return(_a0 session.Session) *Session_Put_Call
func (*Session_Put_Call) Run ¶
func (_c *Session_Put_Call) Run(run func(key string, value interface{})) *Session_Put_Call
func (*Session_Put_Call) RunAndReturn ¶
func (_c *Session_Put_Call) RunAndReturn(run func(string, interface{}) session.Session) *Session_Put_Call
type Session_Reflash_Call ¶
Session_Reflash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Reflash'
func (*Session_Reflash_Call) Return ¶
func (_c *Session_Reflash_Call) Return(_a0 session.Session) *Session_Reflash_Call
func (*Session_Reflash_Call) Run ¶
func (_c *Session_Reflash_Call) Run(run func()) *Session_Reflash_Call
func (*Session_Reflash_Call) RunAndReturn ¶
func (_c *Session_Reflash_Call) RunAndReturn(run func() session.Session) *Session_Reflash_Call
type Session_Regenerate_Call ¶
Session_Regenerate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Regenerate'
func (*Session_Regenerate_Call) Return ¶
func (_c *Session_Regenerate_Call) Return(_a0 error) *Session_Regenerate_Call
func (*Session_Regenerate_Call) Run ¶
func (_c *Session_Regenerate_Call) Run(run func(destroy ...bool)) *Session_Regenerate_Call
func (*Session_Regenerate_Call) RunAndReturn ¶
func (_c *Session_Regenerate_Call) RunAndReturn(run func(...bool) error) *Session_Regenerate_Call
type Session_Remove_Call ¶
Session_Remove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Remove'
func (*Session_Remove_Call) Return ¶
func (_c *Session_Remove_Call) Return(_a0 interface{}) *Session_Remove_Call
func (*Session_Remove_Call) Run ¶
func (_c *Session_Remove_Call) Run(run func(key string)) *Session_Remove_Call
func (*Session_Remove_Call) RunAndReturn ¶
func (_c *Session_Remove_Call) RunAndReturn(run func(string) interface{}) *Session_Remove_Call
type Session_Save_Call ¶
Session_Save_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Save'
func (*Session_Save_Call) Return ¶
func (_c *Session_Save_Call) Return(_a0 error) *Session_Save_Call
func (*Session_Save_Call) Run ¶
func (_c *Session_Save_Call) Run(run func()) *Session_Save_Call
func (*Session_Save_Call) RunAndReturn ¶
func (_c *Session_Save_Call) RunAndReturn(run func() error) *Session_Save_Call
type Session_SetID_Call ¶
Session_SetID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetID'
func (*Session_SetID_Call) Return ¶
func (_c *Session_SetID_Call) Return(_a0 session.Session) *Session_SetID_Call
func (*Session_SetID_Call) Run ¶
func (_c *Session_SetID_Call) Run(run func(id string)) *Session_SetID_Call
func (*Session_SetID_Call) RunAndReturn ¶
func (_c *Session_SetID_Call) RunAndReturn(run func(string) session.Session) *Session_SetID_Call
type Session_SetName_Call ¶
Session_SetName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetName'
func (*Session_SetName_Call) Return ¶
func (_c *Session_SetName_Call) Return(_a0 session.Session) *Session_SetName_Call
func (*Session_SetName_Call) Run ¶
func (_c *Session_SetName_Call) Run(run func(name string)) *Session_SetName_Call
func (*Session_SetName_Call) RunAndReturn ¶
func (_c *Session_SetName_Call) RunAndReturn(run func(string) session.Session) *Session_SetName_Call
type Session_Start_Call ¶
Session_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*Session_Start_Call) Return ¶
func (_c *Session_Start_Call) Return(_a0 bool) *Session_Start_Call
func (*Session_Start_Call) Run ¶
func (_c *Session_Start_Call) Run(run func()) *Session_Start_Call
func (*Session_Start_Call) RunAndReturn ¶
func (_c *Session_Start_Call) RunAndReturn(run func() bool) *Session_Start_Call
type Session_Token_Call ¶
Session_Token_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Token'
func (*Session_Token_Call) Return ¶
func (_c *Session_Token_Call) Return(_a0 string) *Session_Token_Call
func (*Session_Token_Call) Run ¶
func (_c *Session_Token_Call) Run(run func()) *Session_Token_Call
func (*Session_Token_Call) RunAndReturn ¶
func (_c *Session_Token_Call) RunAndReturn(run func() string) *Session_Token_Call