Documentation ¶
Overview ¶
Package mockdb is a generated GoMock package.
Index ¶
- type MockSessionClient
- func (m *MockSessionClient) Del(arg0 context.Context, arg1 string) error
- func (m *MockSessionClient) EXPECT() *MockSessionClientMockRecorder
- func (m *MockSessionClient) Get(arg0 context.Context, arg1 string) (*session.Session, error)
- func (m *MockSessionClient) Set(arg0 context.Context, arg1 string, arg2 *session.Session) error
- type MockSessionClientMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSessionClient ¶
type MockSessionClient struct {
// contains filtered or unexported fields
}
MockSessionClient is a mock of SessionClient interface.
func NewMockSessionClient ¶
func NewMockSessionClient(ctrl *gomock.Controller) *MockSessionClient
NewMockSessionClient creates a new mock instance.
func (*MockSessionClient) Del ¶
func (m *MockSessionClient) Del(arg0 context.Context, arg1 string) error
Del mocks base method.
func (*MockSessionClient) EXPECT ¶
func (m *MockSessionClient) EXPECT() *MockSessionClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockSessionClientMockRecorder ¶
type MockSessionClientMockRecorder struct {
// contains filtered or unexported fields
}
MockSessionClientMockRecorder is the mock recorder for MockSessionClient.
func (*MockSessionClientMockRecorder) Del ¶
func (mr *MockSessionClientMockRecorder) Del(arg0, arg1 interface{}) *gomock.Call
Del indicates an expected call of Del.
func (*MockSessionClientMockRecorder) Get ¶
func (mr *MockSessionClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockSessionClientMockRecorder) Set ¶
func (mr *MockSessionClientMockRecorder) Set(arg0, arg1, arg2 interface{}) *gomock.Call
Set indicates an expected call of Set.
Click to show internal directories.
Click to hide internal directories.