mocks

package
v0.0.0-...-9f15ffa Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func (*Client) Pause

func (_m *Client) Pause() error

Pause provides a mock function with given fields:

func (*Client) PlayOpt

func (_m *Client) PlayOpt(opt *spotify.PlayOptions) error

PlayOpt provides a mock function with given fields: opt

func (*Client) PlayerDevices

func (_m *Client) PlayerDevices() ([]spotify.PlayerDevice, error)

PlayerDevices provides a mock function with given fields:

func (*Client) TransferPlayback

func (_m *Client) TransferPlayback(deviceID spotify.ID, play bool) error

TransferPlayback provides a mock function with given fields: deviceID, play

type DiskplayerServer

type DiskplayerServer struct {
	mock.Mock
}

DiskplayerServer is an autogenerated mock type for the DiskplayerServer type

func (*DiskplayerServer) Authenticator

func (_m *DiskplayerServer) Authenticator() *spotify.Authenticator

Authenticator provides a mock function with given fields:

func (*DiskplayerServer) RunCallbackServer

func (_m *DiskplayerServer) RunCallbackServer() (*http.Server, error)

RunCallbackServer provides a mock function with given fields:

func (*DiskplayerServer) RunRecordServer

func (_m *DiskplayerServer) RunRecordServer() error

RunRecordServer provides a mock function with given fields:

func (*DiskplayerServer) TokenChannel

func (_m *DiskplayerServer) TokenChannel() chan *oauth2.Token

TokenChannel provides a mock function with given fields:

Jump to

Keyboard shortcuts

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