mocktraq

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mocktraq is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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