Documentation ¶
Overview ¶
Package mock_session is a generated GoMock package.
Index ¶
- type MockStorer
- func (m *MockStorer) Delete(arg0 string)
- func (m *MockStorer) DeleteBytes(arg0 []byte)
- func (m *MockStorer) EXPECT() *MockStorerMockRecorder
- func (m *MockStorer) Flush()
- func (m *MockStorer) Get(arg0 string) interface{}
- func (m *MockStorer) GetAll() session.Dict
- func (m *MockStorer) GetBytes(arg0 []byte) interface{}
- func (m *MockStorer) GetExpiration() time.Duration
- func (m *MockStorer) GetSessionID() []byte
- func (m *MockStorer) HasExpirationChanged() bool
- func (m *MockStorer) Save() error
- func (m *MockStorer) Set(arg0 string, arg1 interface{})
- func (m *MockStorer) SetBytes(arg0 []byte, arg1 interface{})
- func (m *MockStorer) SetExpiration(arg0 time.Duration) error
- type MockStorerMockRecorder
- func (mr *MockStorerMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockStorerMockRecorder) DeleteBytes(arg0 interface{}) *gomock.Call
- func (mr *MockStorerMockRecorder) Flush() *gomock.Call
- func (mr *MockStorerMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockStorerMockRecorder) GetAll() *gomock.Call
- func (mr *MockStorerMockRecorder) GetBytes(arg0 interface{}) *gomock.Call
- func (mr *MockStorerMockRecorder) GetExpiration() *gomock.Call
- func (mr *MockStorerMockRecorder) GetSessionID() *gomock.Call
- func (mr *MockStorerMockRecorder) HasExpirationChanged() *gomock.Call
- func (mr *MockStorerMockRecorder) Save() *gomock.Call
- func (mr *MockStorerMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStorerMockRecorder) SetBytes(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStorerMockRecorder) SetExpiration(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStorer ¶
type MockStorer struct {
// contains filtered or unexported fields
}
MockStorer is a mock of Storer interface
func NewMockStorer ¶
func NewMockStorer(ctrl *gomock.Controller) *MockStorer
NewMockStorer creates a new mock instance
func (*MockStorer) DeleteBytes ¶
func (m *MockStorer) DeleteBytes(arg0 []byte)
DeleteBytes mocks base method
func (*MockStorer) EXPECT ¶
func (m *MockStorer) EXPECT() *MockStorerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStorer) GetBytes ¶
func (m *MockStorer) GetBytes(arg0 []byte) interface{}
GetBytes mocks base method
func (*MockStorer) GetExpiration ¶
func (m *MockStorer) GetExpiration() time.Duration
GetExpiration mocks base method
func (*MockStorer) GetSessionID ¶
func (m *MockStorer) GetSessionID() []byte
GetSessionID mocks base method
func (*MockStorer) HasExpirationChanged ¶
func (m *MockStorer) HasExpirationChanged() bool
HasExpirationChanged mocks base method
func (*MockStorer) Set ¶
func (m *MockStorer) Set(arg0 string, arg1 interface{})
Set mocks base method
func (*MockStorer) SetBytes ¶
func (m *MockStorer) SetBytes(arg0 []byte, arg1 interface{})
SetBytes mocks base method
func (*MockStorer) SetExpiration ¶
func (m *MockStorer) SetExpiration(arg0 time.Duration) error
SetExpiration mocks base method
type MockStorerMockRecorder ¶
type MockStorerMockRecorder struct {
// contains filtered or unexported fields
}
MockStorerMockRecorder is the mock recorder for MockStorer
func (*MockStorerMockRecorder) Delete ¶
func (mr *MockStorerMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockStorerMockRecorder) DeleteBytes ¶
func (mr *MockStorerMockRecorder) DeleteBytes(arg0 interface{}) *gomock.Call
DeleteBytes indicates an expected call of DeleteBytes
func (*MockStorerMockRecorder) Flush ¶
func (mr *MockStorerMockRecorder) Flush() *gomock.Call
Flush indicates an expected call of Flush
func (*MockStorerMockRecorder) Get ¶
func (mr *MockStorerMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockStorerMockRecorder) GetAll ¶
func (mr *MockStorerMockRecorder) GetAll() *gomock.Call
GetAll indicates an expected call of GetAll
func (*MockStorerMockRecorder) GetBytes ¶
func (mr *MockStorerMockRecorder) GetBytes(arg0 interface{}) *gomock.Call
GetBytes indicates an expected call of GetBytes
func (*MockStorerMockRecorder) GetExpiration ¶
func (mr *MockStorerMockRecorder) GetExpiration() *gomock.Call
GetExpiration indicates an expected call of GetExpiration
func (*MockStorerMockRecorder) GetSessionID ¶
func (mr *MockStorerMockRecorder) GetSessionID() *gomock.Call
GetSessionID indicates an expected call of GetSessionID
func (*MockStorerMockRecorder) HasExpirationChanged ¶
func (mr *MockStorerMockRecorder) HasExpirationChanged() *gomock.Call
HasExpirationChanged indicates an expected call of HasExpirationChanged
func (*MockStorerMockRecorder) Save ¶
func (mr *MockStorerMockRecorder) Save() *gomock.Call
Save indicates an expected call of Save
func (*MockStorerMockRecorder) Set ¶
func (mr *MockStorerMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call
Set indicates an expected call of Set
func (*MockStorerMockRecorder) SetBytes ¶
func (mr *MockStorerMockRecorder) SetBytes(arg0, arg1 interface{}) *gomock.Call
SetBytes indicates an expected call of SetBytes
func (*MockStorerMockRecorder) SetExpiration ¶
func (mr *MockStorerMockRecorder) SetExpiration(arg0 interface{}) *gomock.Call
SetExpiration indicates an expected call of SetExpiration