destroy

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Destroyer

type Destroyer interface {
	// Destroy is used to destroy a guild's audio player.
	Destroy(guildID string) error
}

Destroyer wraps the Destroy method.

type MockedDestroyer

type MockedDestroyer struct {
	mock.Mock
}

MockedDestroyer is the mock implementation for Destroyer.

func NewMockedDestroyer

func NewMockedDestroyer() *MockedDestroyer

NewMockedDestroyer returns a new MockedDestroyer.

func (*MockedDestroyer) Destroy

func (d *MockedDestroyer) Destroy(guildID string) error

Destroy is used to destroy a guild's audio player.

Jump to

Keyboard shortcuts

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