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 ¶
func (m *MockTraqService) EXPECT() *MockTraqServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTraqService) GetCanonicalUserName ¶
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.
Click to show internal directories.
Click to hide internal directories.