Documentation ¶
Overview ¶
Package mock_service is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(s datastore.Storage, a authorization.Authorizer) *service
Types ¶
type DisputeService ¶
type DisputeService interface { Healthy() bool SetAuthData(data authentication.AuthData) CreateDispute(dispute.Dispute) (dispute.Dispute, error) GetDisputesByStatus(status string) (dispute.Disputes, error) GetDisputesByWorkerID(id uint64) (dispute.Disputes, error) ResolveDispute(dispute.Resolution) (dispute.Resolved, error) }
type MockDisputeService ¶
type MockDisputeService struct {
// contains filtered or unexported fields
}
MockDisputeService is a mock of DisputeService interface
func NewMockDisputeService ¶
func NewMockDisputeService(ctrl *gomock.Controller) *MockDisputeService
NewMockDisputeService creates a new mock instance
func (*MockDisputeService) EXPECT ¶
func (m *MockDisputeService) EXPECT() *MockDisputeServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDisputeService) Healthy ¶
func (m *MockDisputeService) Healthy() bool
Healthy mocks base method
type MockDisputeServiceMockRecorder ¶
type MockDisputeServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockDisputeServiceMockRecorder is the mock recorder for MockDisputeService
func (*MockDisputeServiceMockRecorder) Healthy ¶
func (mr *MockDisputeServiceMockRecorder) Healthy() *gomock.Call
Healthy indicates an expected call of Healthy
Click to show internal directories.
Click to hide internal directories.