mockservice

package
v0.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mockservice is a generated GoMock package.

Package mockservice is a generated GoMock package.

Package mockservice is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockNotificationService added in v0.6.2

type MockNotificationService struct {
	// contains filtered or unexported fields
}

MockNotificationService is a mock of NotificationService interface.

func NewMockNotificationService added in v0.6.2

func NewMockNotificationService(ctrl *gomock.Controller) *MockNotificationService

NewMockNotificationService creates a new mock instance.

func (*MockNotificationService) EXPECT added in v0.6.2

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockNotificationService) SendAnswerChangeMessage added in v0.6.2

func (m *MockNotificationService) SendAnswerChangeMessage(ctx context.Context, editorUserID string, oldAnswer *model.Answer, newAnswer model.Answer) error

SendAnswerChangeMessage mocks base method.

type MockNotificationServiceMockRecorder added in v0.6.2

type MockNotificationServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockNotificationServiceMockRecorder is the mock recorder for MockNotificationService.

func (*MockNotificationServiceMockRecorder) SendAnswerChangeMessage added in v0.6.2

func (mr *MockNotificationServiceMockRecorder) SendAnswerChangeMessage(ctx, editorUserID, oldAnswer, newAnswer any) *gomock.Call

SendAnswerChangeMessage indicates an expected call of SendAnswerChangeMessage.

type MockSchedulerService added in v0.7.2

type MockSchedulerService struct {
	// contains filtered or unexported fields
}

MockSchedulerService is a mock of SchedulerService interface.

func NewMockSchedulerService added in v0.7.2

func NewMockSchedulerService(ctrl *gomock.Controller) *MockSchedulerService

NewMockSchedulerService creates a new mock instance.

func (*MockSchedulerService) EXPECT added in v0.7.2

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSchedulerService) Start added in v0.7.2

func (m *MockSchedulerService) Start(ctx context.Context)

Start mocks base method.

type MockSchedulerServiceMockRecorder added in v0.7.2

type MockSchedulerServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockSchedulerServiceMockRecorder is the mock recorder for MockSchedulerService.

func (*MockSchedulerServiceMockRecorder) Start added in v0.7.2

Start indicates an expected call of Start.

type MockTraqService

type MockTraqService struct {
	// contains filtered or unexported fields
}

MockTraqService is a mock of TraqService interface.

func NewMockTraqService

func NewMockTraqService(ctrl *gomock.Controller) *MockTraqService

NewMockTraqService creates a new mock instance.

func (*MockTraqService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTraqService) GetCanonicalUserName

func (m *MockTraqService) GetCanonicalUserName(ctx context.Context, userID string) (string, error)

GetCanonicalUserName mocks base method.

func (*MockTraqService) PostDirectMessage

func (m *MockTraqService) PostDirectMessage(ctx context.Context, userID, content string) error

PostDirectMessage mocks base method.

type MockTraqServiceMockRecorder

type MockTraqServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockTraqServiceMockRecorder is the mock recorder for MockTraqService.

func (*MockTraqServiceMockRecorder) GetCanonicalUserName

func (mr *MockTraqServiceMockRecorder) GetCanonicalUserName(ctx, userID any) *gomock.Call

GetCanonicalUserName indicates an expected call of GetCanonicalUserName.

func (*MockTraqServiceMockRecorder) PostDirectMessage

func (mr *MockTraqServiceMockRecorder) PostDirectMessage(ctx, userID, content any) *gomock.Call

PostDirectMessage indicates an expected call of PostDirectMessage.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL