Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockAuthState
- func (m *MockAuthState) DeleteAuth(arg0 int64) error
- func (m *MockAuthState) EXPECT() *MockAuthStateMockRecorder
- func (m *MockAuthState) ListAuth() ([]*state.AuthStateModel, error)
- func (m *MockAuthState) SaveAuth(arg0 *state.AuthStateModel) (int64, error)
- func (m *MockAuthState) UpdateAuth(arg0 *state.AuthStateModel) error
- type MockAuthStateMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuthState ¶
type MockAuthState struct {
// contains filtered or unexported fields
}
MockAuthState is a mock of AuthState interface.
func NewMockAuthState ¶
func NewMockAuthState(ctrl *gomock.Controller) *MockAuthState
NewMockAuthState creates a new mock instance.
func (*MockAuthState) DeleteAuth ¶
func (m *MockAuthState) DeleteAuth(arg0 int64) error
DeleteAuth mocks base method.
func (*MockAuthState) EXPECT ¶
func (m *MockAuthState) EXPECT() *MockAuthStateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuthState) ListAuth ¶
func (m *MockAuthState) ListAuth() ([]*state.AuthStateModel, error)
ListAuth mocks base method.
func (*MockAuthState) SaveAuth ¶
func (m *MockAuthState) SaveAuth(arg0 *state.AuthStateModel) (int64, error)
SaveAuth mocks base method.
func (*MockAuthState) UpdateAuth ¶
func (m *MockAuthState) UpdateAuth(arg0 *state.AuthStateModel) error
UpdateAuth mocks base method.
type MockAuthStateMockRecorder ¶
type MockAuthStateMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthStateMockRecorder is the mock recorder for MockAuthState.
func (*MockAuthStateMockRecorder) DeleteAuth ¶
func (mr *MockAuthStateMockRecorder) DeleteAuth(arg0 interface{}) *gomock.Call
DeleteAuth indicates an expected call of DeleteAuth.
func (*MockAuthStateMockRecorder) ListAuth ¶
func (mr *MockAuthStateMockRecorder) ListAuth() *gomock.Call
ListAuth indicates an expected call of ListAuth.
func (*MockAuthStateMockRecorder) SaveAuth ¶
func (mr *MockAuthStateMockRecorder) SaveAuth(arg0 interface{}) *gomock.Call
SaveAuth indicates an expected call of SaveAuth.
func (*MockAuthStateMockRecorder) UpdateAuth ¶
func (mr *MockAuthStateMockRecorder) UpdateAuth(arg0 interface{}) *gomock.Call
UpdateAuth indicates an expected call of UpdateAuth.
Click to show internal directories.
Click to hide internal directories.