mocks

package
v0.0.0-...-1ffa3f5 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDiscordSession

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

MockDiscordSession is a mock of DiscordSession interface.

func NewMockDiscordSession

func NewMockDiscordSession(ctrl *gomock.Controller) *MockDiscordSession

NewMockDiscordSession creates a new mock instance.

func (*MockDiscordSession) AddHandler

func (m *MockDiscordSession) AddHandler(handler interface{}) func()

AddHandler mocks base method.

func (*MockDiscordSession) ApplicationCommandCreate

func (m *MockDiscordSession) ApplicationCommandCreate(appID, guildID string, cmd *discordgo.ApplicationCommand) (*discordgo.ApplicationCommand, error)

ApplicationCommandCreate mocks base method.

func (*MockDiscordSession) EXPECT

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

func (*MockDiscordSession) FollowupMessageCreate

func (m *MockDiscordSession) FollowupMessageCreate(appID string, interaction *discordgo.Interaction, wait bool, data *discordgo.WebhookParams) (*discordgo.Message, error)

FollowupMessageCreate mocks base method.

func (*MockDiscordSession) InteractionRespond

func (m *MockDiscordSession) InteractionRespond(interaction *discordgo.Interaction, resp *discordgo.InteractionResponse) error

InteractionRespond mocks base method.

type MockDiscordSessionMockRecorder

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

MockDiscordSessionMockRecorder is the mock recorder for MockDiscordSession.

func (*MockDiscordSessionMockRecorder) AddHandler

func (mr *MockDiscordSessionMockRecorder) AddHandler(handler interface{}) *gomock.Call

AddHandler indicates an expected call of AddHandler.

func (*MockDiscordSessionMockRecorder) ApplicationCommandCreate

func (mr *MockDiscordSessionMockRecorder) ApplicationCommandCreate(appID, guildID, cmd interface{}) *gomock.Call

ApplicationCommandCreate indicates an expected call of ApplicationCommandCreate.

func (*MockDiscordSessionMockRecorder) FollowupMessageCreate

func (mr *MockDiscordSessionMockRecorder) FollowupMessageCreate(appID, interaction, wait, data interface{}) *gomock.Call

FollowupMessageCreate indicates an expected call of FollowupMessageCreate.

func (*MockDiscordSessionMockRecorder) InteractionRespond

func (mr *MockDiscordSessionMockRecorder) InteractionRespond(interaction, resp interface{}) *gomock.Call

InteractionRespond indicates an expected call of InteractionRespond.

type MockbuffdebuffInterface

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

MockbuffdebuffInterface is a mock of buffdebuffInterface interface.

func NewMockbuffdebuffInterface

func NewMockbuffdebuffInterface(ctrl *gomock.Controller) *MockbuffdebuffInterface

NewMockbuffdebuffInterface creates a new mock instance.

func (*MockbuffdebuffInterface) EXPECT

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

func (*MockbuffdebuffInterface) EndTs

func (m *MockbuffdebuffInterface) EndTs() int64

EndTs mocks base method.

func (*MockbuffdebuffInterface) GetID

func (m *MockbuffdebuffInterface) GetID() int64

GetID mocks base method.

func (*MockbuffdebuffInterface) StartTs

func (m *MockbuffdebuffInterface) StartTs() int64

StartTs mocks base method.

func (*MockbuffdebuffInterface) String

String mocks base method.

type MockbuffdebuffInterfaceMockRecorder

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

MockbuffdebuffInterfaceMockRecorder is the mock recorder for MockbuffdebuffInterface.

func (*MockbuffdebuffInterfaceMockRecorder) EndTs

EndTs indicates an expected call of EndTs.

func (*MockbuffdebuffInterfaceMockRecorder) GetID

GetID indicates an expected call of GetID.

func (*MockbuffdebuffInterfaceMockRecorder) StartTs

StartTs indicates an expected call of StartTs.

func (*MockbuffdebuffInterfaceMockRecorder) String

func (mr *MockbuffdebuffInterfaceMockRecorder) String(ds interface{}) *gomock.Call

String indicates an expected call of String.

Jump to

Keyboard shortcuts

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