decodetrack

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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockedTrackDecoder

type MockedTrackDecoder struct {
	mock.Mock
}

MockedTrackDecoder is the mock implementation of TrackDecoder.

func NewMockedTrackDecoder

func NewMockedTrackDecoder() *MockedTrackDecoder

NewMockedTrackDecoder returns a new MockedTrackDecoder.

func (*MockedTrackDecoder) DecodeTracks

func (d *MockedTrackDecoder) DecodeTracks(trackIDs ...string) ([]*track.Info, error)

DecodeTracks is used to decode the passed trackIDs to track infos.

type TrackDecoder

type TrackDecoder interface {
	// DecodeTracks is used to decode the passed trackIDs
	// to track infos.
	DecodeTracks(trackIDs ...string) ([]*track.Info, error)
}

TrackDecoder wraps the DecodeTracks method.

Jump to

Keyboard shortcuts

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