The highest tagged major version is
v2.
package
Version:
v1.1.4
Opens a new window with list of versions in this module.
Published: Apr 19, 2022
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Exception struct {
Message string `json:"message,omitempty"`
Severity string `json:"severity,omitempty"`
}
const (
LoadTypeTrackLoaded LoadType = "TRACK_LOADED"
LoadTypePlaylistLoaded LoadType = "PLAYLIST_LOADED"
LoadTypeSearchResult LoadType = "SEARCH_RESULT"
LoadTypeNoMatches LoadType = "NO_MATCHES "
LoadTypeFailed LoadType = "LOAD_FAILED "
)
type MockedTrackLoader struct {
mock.Mock
}
MockedTrackLoader is the mocking implementation of
TrackLoader.
NewMockedTrackLoader returns a new MockedTrackLoader.
LoadTracks loads multiple tracks by the passed
identifier.
type Response struct {
LoadType LoadType `json:"loadType,omitempty"`
PlaylistInfo track.PlaylistInfo `json:"playlistInfo,omitempty"`
Tracks []track.Track `json:"tracks,omitempty"`
Exception Exception `json:"exception,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.