Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockService
- func (m *MockService) BadSession(arg0 []*models.Session)
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) GetAvailableSessions() []*models.Session
- func (m *MockService) ReleaseSession(arg0 []*models.Session)
- func (m *MockService) ReserveSession(arg0 int, arg1 chan *models.Session)
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) BadSession(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetAvailableSessions() *gomock.Call
- func (mr *MockServiceMockRecorder) ReleaseSession(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) ReserveSession(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance
func (*MockService) BadSession ¶
func (m *MockService) BadSession(arg0 []*models.Session)
BadSession mocks base method
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockService) GetAvailableSessions ¶
func (m *MockService) GetAvailableSessions() []*models.Session
GetAvailableSessions mocks base method
func (*MockService) ReleaseSession ¶
func (m *MockService) ReleaseSession(arg0 []*models.Session)
ReleaseSession mocks base method
func (*MockService) ReserveSession ¶
func (m *MockService) ReserveSession(arg0 int, arg1 chan *models.Session)
ReserveSession mocks base method
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService
func (*MockServiceMockRecorder) BadSession ¶
func (mr *MockServiceMockRecorder) BadSession(arg0 interface{}) *gomock.Call
BadSession indicates an expected call of BadSession
func (*MockServiceMockRecorder) GetAvailableSessions ¶
func (mr *MockServiceMockRecorder) GetAvailableSessions() *gomock.Call
GetAvailableSessions indicates an expected call of GetAvailableSessions
func (*MockServiceMockRecorder) ReleaseSession ¶
func (mr *MockServiceMockRecorder) ReleaseSession(arg0 interface{}) *gomock.Call
ReleaseSession indicates an expected call of ReleaseSession
func (*MockServiceMockRecorder) ReserveSession ¶
func (mr *MockServiceMockRecorder) ReserveSession(arg0, arg1 interface{}) *gomock.Call
ReserveSession indicates an expected call of ReserveSession