Documentation ¶
Overview ¶
Package mock_messenger is a generated GoMock package.
Package mock_messenger is a generated GoMock package.
Index ¶
- type MockDiscordSender
- type MockDiscordSenderAndDeleter
- func (m *MockDiscordSenderAndDeleter) ChannelMessageDelete(channelID, messageID string) error
- func (m *MockDiscordSenderAndDeleter) ChannelMessageSendComplex(channelID string, data *discordgo.MessageSend) (*discordgo.Message, error)
- func (m *MockDiscordSenderAndDeleter) EXPECT() *MockDiscordSenderAndDeleterMockRecorder
- func (m *MockDiscordSenderAndDeleter) UserChannelCreate(recipientID string) (*discordgo.Channel, error)
- type MockDiscordSenderAndDeleterMockRecorder
- func (mr *MockDiscordSenderAndDeleterMockRecorder) ChannelMessageDelete(channelID, messageID interface{}) *gomock.Call
- func (mr *MockDiscordSenderAndDeleterMockRecorder) ChannelMessageSendComplex(channelID, data interface{}) *gomock.Call
- func (mr *MockDiscordSenderAndDeleterMockRecorder) UserChannelCreate(recipientID interface{}) *gomock.Call
- type MockDiscordSenderMockRecorder
- type MockSendable
- type MockSendableMockRecorder
- type MockdiscordChannelMessageDelete
- type MockdiscordChannelMessageDeleteMockRecorder
- type MockdiscordChannelMessageSendComplex
- type MockdiscordChannelMessageSendComplexMockRecorder
- type MockdiscordUserChannelCreate
- type MockdiscordUserChannelCreateMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDiscordSender ¶
type MockDiscordSender struct {
// contains filtered or unexported fields
}
MockDiscordSender is a mock of DiscordSender interface.
func NewMockDiscordSender ¶
func NewMockDiscordSender(ctrl *gomock.Controller) *MockDiscordSender
NewMockDiscordSender creates a new mock instance.
func (*MockDiscordSender) ChannelMessageSendComplex ¶
func (m *MockDiscordSender) ChannelMessageSendComplex(channelID string, data *discordgo.MessageSend) (*discordgo.Message, error)
ChannelMessageSendComplex mocks base method.
func (*MockDiscordSender) EXPECT ¶
func (m *MockDiscordSender) EXPECT() *MockDiscordSenderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDiscordSender) UserChannelCreate ¶
func (m *MockDiscordSender) UserChannelCreate(recipientID string) (*discordgo.Channel, error)
UserChannelCreate mocks base method.
type MockDiscordSenderAndDeleter ¶
type MockDiscordSenderAndDeleter struct {
// contains filtered or unexported fields
}
MockDiscordSenderAndDeleter is a mock of DiscordSenderAndDeleter interface.
func NewMockDiscordSenderAndDeleter ¶
func NewMockDiscordSenderAndDeleter(ctrl *gomock.Controller) *MockDiscordSenderAndDeleter
NewMockDiscordSenderAndDeleter creates a new mock instance.
func (*MockDiscordSenderAndDeleter) ChannelMessageDelete ¶
func (m *MockDiscordSenderAndDeleter) ChannelMessageDelete(channelID, messageID string) error
ChannelMessageDelete mocks base method.
func (*MockDiscordSenderAndDeleter) ChannelMessageSendComplex ¶
func (m *MockDiscordSenderAndDeleter) ChannelMessageSendComplex(channelID string, data *discordgo.MessageSend) (*discordgo.Message, error)
ChannelMessageSendComplex mocks base method.
func (*MockDiscordSenderAndDeleter) EXPECT ¶
func (m *MockDiscordSenderAndDeleter) EXPECT() *MockDiscordSenderAndDeleterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDiscordSenderAndDeleter) UserChannelCreate ¶
func (m *MockDiscordSenderAndDeleter) UserChannelCreate(recipientID string) (*discordgo.Channel, error)
UserChannelCreate mocks base method.
type MockDiscordSenderAndDeleterMockRecorder ¶
type MockDiscordSenderAndDeleterMockRecorder struct {
// contains filtered or unexported fields
}
MockDiscordSenderAndDeleterMockRecorder is the mock recorder for MockDiscordSenderAndDeleter.
func (*MockDiscordSenderAndDeleterMockRecorder) ChannelMessageDelete ¶
func (mr *MockDiscordSenderAndDeleterMockRecorder) ChannelMessageDelete(channelID, messageID interface{}) *gomock.Call
ChannelMessageDelete indicates an expected call of ChannelMessageDelete.
func (*MockDiscordSenderAndDeleterMockRecorder) ChannelMessageSendComplex ¶
func (mr *MockDiscordSenderAndDeleterMockRecorder) ChannelMessageSendComplex(channelID, data interface{}) *gomock.Call
ChannelMessageSendComplex indicates an expected call of ChannelMessageSendComplex.
func (*MockDiscordSenderAndDeleterMockRecorder) UserChannelCreate ¶
func (mr *MockDiscordSenderAndDeleterMockRecorder) UserChannelCreate(recipientID interface{}) *gomock.Call
UserChannelCreate indicates an expected call of UserChannelCreate.
type MockDiscordSenderMockRecorder ¶
type MockDiscordSenderMockRecorder struct {
// contains filtered or unexported fields
}
MockDiscordSenderMockRecorder is the mock recorder for MockDiscordSender.
func (*MockDiscordSenderMockRecorder) ChannelMessageSendComplex ¶
func (mr *MockDiscordSenderMockRecorder) ChannelMessageSendComplex(channelID, data interface{}) *gomock.Call
ChannelMessageSendComplex indicates an expected call of ChannelMessageSendComplex.
func (*MockDiscordSenderMockRecorder) UserChannelCreate ¶
func (mr *MockDiscordSenderMockRecorder) UserChannelCreate(recipientID interface{}) *gomock.Call
UserChannelCreate indicates an expected call of UserChannelCreate.
type MockSendable ¶
type MockSendable struct {
// contains filtered or unexported fields
}
MockSendable is a mock of Sendable interface.
func NewMockSendable ¶
func NewMockSendable(ctrl *gomock.Controller) *MockSendable
NewMockSendable creates a new mock instance.
func (*MockSendable) EXPECT ¶
func (m *MockSendable) EXPECT() *MockSendableMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSendable) Send ¶
func (m *MockSendable) Send(discord messenger.DiscordSender) (*discordgo.Message, error)
Send mocks base method.
type MockSendableMockRecorder ¶
type MockSendableMockRecorder struct {
// contains filtered or unexported fields
}
MockSendableMockRecorder is the mock recorder for MockSendable.
func (*MockSendableMockRecorder) Send ¶
func (mr *MockSendableMockRecorder) Send(discord interface{}) *gomock.Call
Send indicates an expected call of Send.
type MockdiscordChannelMessageDelete ¶
type MockdiscordChannelMessageDelete struct {
// contains filtered or unexported fields
}
MockdiscordChannelMessageDelete is a mock of discordChannelMessageDelete interface.
func NewMockdiscordChannelMessageDelete ¶
func NewMockdiscordChannelMessageDelete(ctrl *gomock.Controller) *MockdiscordChannelMessageDelete
NewMockdiscordChannelMessageDelete creates a new mock instance.
func (*MockdiscordChannelMessageDelete) ChannelMessageDelete ¶
func (m *MockdiscordChannelMessageDelete) ChannelMessageDelete(channelID, messageID string) error
ChannelMessageDelete mocks base method.
func (*MockdiscordChannelMessageDelete) EXPECT ¶
func (m *MockdiscordChannelMessageDelete) EXPECT() *MockdiscordChannelMessageDeleteMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockdiscordChannelMessageDeleteMockRecorder ¶
type MockdiscordChannelMessageDeleteMockRecorder struct {
// contains filtered or unexported fields
}
MockdiscordChannelMessageDeleteMockRecorder is the mock recorder for MockdiscordChannelMessageDelete.
func (*MockdiscordChannelMessageDeleteMockRecorder) ChannelMessageDelete ¶
func (mr *MockdiscordChannelMessageDeleteMockRecorder) ChannelMessageDelete(channelID, messageID interface{}) *gomock.Call
ChannelMessageDelete indicates an expected call of ChannelMessageDelete.
type MockdiscordChannelMessageSendComplex ¶
type MockdiscordChannelMessageSendComplex struct {
// contains filtered or unexported fields
}
MockdiscordChannelMessageSendComplex is a mock of discordChannelMessageSendComplex interface.
func NewMockdiscordChannelMessageSendComplex ¶
func NewMockdiscordChannelMessageSendComplex(ctrl *gomock.Controller) *MockdiscordChannelMessageSendComplex
NewMockdiscordChannelMessageSendComplex creates a new mock instance.
func (*MockdiscordChannelMessageSendComplex) ChannelMessageSendComplex ¶
func (m *MockdiscordChannelMessageSendComplex) ChannelMessageSendComplex(channelID string, data *discordgo.MessageSend) (*discordgo.Message, error)
ChannelMessageSendComplex mocks base method.
func (*MockdiscordChannelMessageSendComplex) EXPECT ¶
func (m *MockdiscordChannelMessageSendComplex) EXPECT() *MockdiscordChannelMessageSendComplexMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockdiscordChannelMessageSendComplexMockRecorder ¶
type MockdiscordChannelMessageSendComplexMockRecorder struct {
// contains filtered or unexported fields
}
MockdiscordChannelMessageSendComplexMockRecorder is the mock recorder for MockdiscordChannelMessageSendComplex.
func (*MockdiscordChannelMessageSendComplexMockRecorder) ChannelMessageSendComplex ¶
func (mr *MockdiscordChannelMessageSendComplexMockRecorder) ChannelMessageSendComplex(channelID, data interface{}) *gomock.Call
ChannelMessageSendComplex indicates an expected call of ChannelMessageSendComplex.
type MockdiscordUserChannelCreate ¶
type MockdiscordUserChannelCreate struct {
// contains filtered or unexported fields
}
MockdiscordUserChannelCreate is a mock of discordUserChannelCreate interface.
func NewMockdiscordUserChannelCreate ¶
func NewMockdiscordUserChannelCreate(ctrl *gomock.Controller) *MockdiscordUserChannelCreate
NewMockdiscordUserChannelCreate creates a new mock instance.
func (*MockdiscordUserChannelCreate) EXPECT ¶
func (m *MockdiscordUserChannelCreate) EXPECT() *MockdiscordUserChannelCreateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockdiscordUserChannelCreate) UserChannelCreate ¶
func (m *MockdiscordUserChannelCreate) UserChannelCreate(recipientID string) (*discordgo.Channel, error)
UserChannelCreate mocks base method.
type MockdiscordUserChannelCreateMockRecorder ¶
type MockdiscordUserChannelCreateMockRecorder struct {
// contains filtered or unexported fields
}
MockdiscordUserChannelCreateMockRecorder is the mock recorder for MockdiscordUserChannelCreate.
func (*MockdiscordUserChannelCreateMockRecorder) UserChannelCreate ¶
func (mr *MockdiscordUserChannelCreateMockRecorder) UserChannelCreate(recipientID interface{}) *gomock.Call
UserChannelCreate indicates an expected call of UserChannelCreate.