mock_messenger

package
v0.0.0-...-2e419a0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_messenger is a generated GoMock package.

Package mock_messenger is a generated GoMock package.

Index

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

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

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

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

func (*MockSendable) Send

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

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

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

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.

Jump to

Keyboard shortcuts

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