Documentation ¶
Overview ¶
Package lockmock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockLocker ¶
type MockLocker struct {
// contains filtered or unexported fields
}
MockLocker is a mock of Locker interface.
func NewMockLocker ¶
func NewMockLocker(ctrl *gomock.Controller) *MockLocker
NewMockLocker creates a new mock instance.
func (*MockLocker) AcquireLock ¶
AcquireLock mocks base method.
func (*MockLocker) EXPECT ¶
func (m *MockLocker) EXPECT() *MockLockerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLocker) ReleaseLock ¶
func (m *MockLocker) ReleaseLock(arg0 string) *business.Error
ReleaseLock mocks base method.
type MockLockerMockRecorder ¶
type MockLockerMockRecorder struct {
// contains filtered or unexported fields
}
MockLockerMockRecorder is the mock recorder for MockLocker.
func (*MockLockerMockRecorder) AcquireLock ¶
func (mr *MockLockerMockRecorder) AcquireLock(arg0, arg1, arg2 interface{}) *gomock.Call
AcquireLock indicates an expected call of AcquireLock.
func (*MockLockerMockRecorder) ReleaseLock ¶
func (mr *MockLockerMockRecorder) ReleaseLock(arg0 interface{}) *gomock.Call
ReleaseLock indicates an expected call of ReleaseLock.
Click to show internal directories.
Click to hide internal directories.