mock_discordinterface

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2024 License: BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package mock_discordinterface is a generated GoMock package.

Package mock_discordinterface is a generated GoMock package.

Package mock_discordinterface is a generated GoMock package.

Package mock_discordinterface is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDcaStreamingSession

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

MockDcaStreamingSession is a mock of DcaStreamingSession interface.

func NewMockDcaStreamingSession

func NewMockDcaStreamingSession(ctrl *gomock.Controller) *MockDcaStreamingSession

NewMockDcaStreamingSession creates a new mock instance.

func (*MockDcaStreamingSession) EXPECT

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

func (*MockDcaStreamingSession) Finished

func (m *MockDcaStreamingSession) Finished() (bool, error)

Finished mocks base method.

func (*MockDcaStreamingSession) Paused

func (m *MockDcaStreamingSession) Paused() bool

Paused mocks base method.

func (*MockDcaStreamingSession) PlaybackPosition

func (m *MockDcaStreamingSession) PlaybackPosition() time.Duration

PlaybackPosition mocks base method.

func (*MockDcaStreamingSession) SetPaused

func (m *MockDcaStreamingSession) SetPaused(paused bool)

SetPaused mocks base method.

type MockDcaStreamingSessionMockRecorder

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

MockDcaStreamingSessionMockRecorder is the mock recorder for MockDcaStreamingSession.

func (*MockDcaStreamingSessionMockRecorder) Finished

Finished indicates an expected call of Finished.

func (*MockDcaStreamingSessionMockRecorder) Paused

Paused indicates an expected call of Paused.

func (*MockDcaStreamingSessionMockRecorder) PlaybackPosition

func (mr *MockDcaStreamingSessionMockRecorder) PlaybackPosition() *gomock.Call

PlaybackPosition indicates an expected call of PlaybackPosition.

func (*MockDcaStreamingSessionMockRecorder) SetPaused

func (mr *MockDcaStreamingSessionMockRecorder) SetPaused(paused any) *gomock.Call

SetPaused indicates an expected call of SetPaused.

type MockDiscordAudio

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

MockDiscordAudio is a mock of DiscordAudio interface.

func NewMockDiscordAudio

func NewMockDiscordAudio(ctrl *gomock.Controller) *MockDiscordAudio

NewMockDiscordAudio creates a new mock instance.

func (*MockDiscordAudio) EXPECT

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

func (*MockDiscordAudio) EncodeFile

func (m *MockDiscordAudio) EncodeFile(path string, options *dca.EncodeOptions) (*dca.EncodeSession, error)

EncodeFile mocks base method.

func (*MockDiscordAudio) NewStream

NewStream mocks base method.

type MockDiscordAudioMockRecorder

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

MockDiscordAudioMockRecorder is the mock recorder for MockDiscordAudio.

func (*MockDiscordAudioMockRecorder) EncodeFile

func (mr *MockDiscordAudioMockRecorder) EncodeFile(path, options any) *gomock.Call

EncodeFile indicates an expected call of EncodeFile.

func (*MockDiscordAudioMockRecorder) NewStream

func (mr *MockDiscordAudioMockRecorder) NewStream(source, vc, done any) *gomock.Call

NewStream indicates an expected call of NewStream.

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) ChannelVoiceJoin

func (m *MockDiscordSession) ChannelVoiceJoin(gID, cID string, mute, deaf bool) (discordinterface.DiscordVoiceConnection, error)

ChannelVoiceJoin mocks base method.

func (*MockDiscordSession) EXPECT

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

type MockDiscordSessionMockRecorder

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

MockDiscordSessionMockRecorder is the mock recorder for MockDiscordSession.

func (*MockDiscordSessionMockRecorder) ChannelVoiceJoin

func (mr *MockDiscordSessionMockRecorder) ChannelVoiceJoin(gID, cID, mute, deaf any) *gomock.Call

ChannelVoiceJoin indicates an expected call of ChannelVoiceJoin.

type MockDiscordVoiceConnection

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

MockDiscordVoiceConnection is a mock of DiscordVoiceConnection interface.

func NewMockDiscordVoiceConnection

func NewMockDiscordVoiceConnection(ctrl *gomock.Controller) *MockDiscordVoiceConnection

NewMockDiscordVoiceConnection creates a new mock instance.

func (*MockDiscordVoiceConnection) Disconnect

func (m *MockDiscordVoiceConnection) Disconnect() error

Disconnect mocks base method.

func (*MockDiscordVoiceConnection) EXPECT

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

func (*MockDiscordVoiceConnection) GetRaw

GetRaw mocks base method.

func (*MockDiscordVoiceConnection) IsReady

func (m *MockDiscordVoiceConnection) IsReady() bool

IsReady mocks base method.

func (*MockDiscordVoiceConnection) Speaking

func (m *MockDiscordVoiceConnection) Speaking(b bool) error

Speaking mocks base method.

type MockDiscordVoiceConnectionMockRecorder

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

MockDiscordVoiceConnectionMockRecorder is the mock recorder for MockDiscordVoiceConnection.

func (*MockDiscordVoiceConnectionMockRecorder) Disconnect

Disconnect indicates an expected call of Disconnect.

func (*MockDiscordVoiceConnectionMockRecorder) GetRaw

GetRaw indicates an expected call of GetRaw.

func (*MockDiscordVoiceConnectionMockRecorder) IsReady

IsReady indicates an expected call of IsReady.

func (*MockDiscordVoiceConnectionMockRecorder) Speaking

Speaking indicates an expected call of Speaking.

Jump to

Keyboard shortcuts

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