Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterLifecycleManagement(LifecycleManagement)
- func RegisterMetadataAgent(MetadataAgent)
- func RegisterNamedSchedulerCallback(name string, cb SchedulerCallback) scheduler.SchedulerService
- func RegisterSchedulerCallback(SchedulerCallback)
- func RegisterScrobbler(Scrobbler)
- func RegisterWebSocketCallback(WebSocketCallback)
- func WazeroModuleConfig(moduleConfig wazero.ModuleConfig) wazeroConfigOption
- func WazeroRuntime(newRuntime WazeroNewRuntime) wazeroConfigOption
- type AlbumImagesRequest
- func (x *AlbumImagesRequest) GetArtist() string
- func (x *AlbumImagesRequest) GetMbid() string
- func (x *AlbumImagesRequest) GetName() string
- func (m *AlbumImagesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AlbumImagesRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *AlbumImagesRequest) MarshalVT() (dAtA []byte, err error)
- func (x *AlbumImagesRequest) ProtoReflect() protoreflect.Message
- func (m *AlbumImagesRequest) SizeVT() (n int)
- func (m *AlbumImagesRequest) UnmarshalVT(dAtA []byte) error
- type AlbumImagesResponse
- func (x *AlbumImagesResponse) GetImages() []*ExternalImage
- func (m *AlbumImagesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AlbumImagesResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *AlbumImagesResponse) MarshalVT() (dAtA []byte, err error)
- func (x *AlbumImagesResponse) ProtoReflect() protoreflect.Message
- func (m *AlbumImagesResponse) SizeVT() (n int)
- func (m *AlbumImagesResponse) UnmarshalVT(dAtA []byte) error
- type AlbumInfo
- func (x *AlbumInfo) GetDescription() string
- func (x *AlbumInfo) GetMbid() string
- func (x *AlbumInfo) GetName() string
- func (x *AlbumInfo) GetUrl() string
- func (m *AlbumInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AlbumInfo) MarshalToVT(dAtA []byte) (int, error)
- func (m *AlbumInfo) MarshalVT() (dAtA []byte, err error)
- func (x *AlbumInfo) ProtoReflect() protoreflect.Message
- func (m *AlbumInfo) SizeVT() (n int)
- func (m *AlbumInfo) UnmarshalVT(dAtA []byte) error
- type AlbumInfoRequest
- func (x *AlbumInfoRequest) GetArtist() string
- func (x *AlbumInfoRequest) GetMbid() string
- func (x *AlbumInfoRequest) GetName() string
- func (m *AlbumInfoRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AlbumInfoRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *AlbumInfoRequest) MarshalVT() (dAtA []byte, err error)
- func (x *AlbumInfoRequest) ProtoReflect() protoreflect.Message
- func (m *AlbumInfoRequest) SizeVT() (n int)
- func (m *AlbumInfoRequest) UnmarshalVT(dAtA []byte) error
- type AlbumInfoResponse
- func (x *AlbumInfoResponse) GetInfo() *AlbumInfo
- func (m *AlbumInfoResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AlbumInfoResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *AlbumInfoResponse) MarshalVT() (dAtA []byte, err error)
- func (x *AlbumInfoResponse) ProtoReflect() protoreflect.Message
- func (m *AlbumInfoResponse) SizeVT() (n int)
- func (m *AlbumInfoResponse) UnmarshalVT(dAtA []byte) error
- type Artist
- func (x *Artist) GetMbid() string
- func (x *Artist) GetName() string
- func (m *Artist) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Artist) MarshalToVT(dAtA []byte) (int, error)
- func (m *Artist) MarshalVT() (dAtA []byte, err error)
- func (x *Artist) ProtoReflect() protoreflect.Message
- func (m *Artist) SizeVT() (n int)
- func (m *Artist) UnmarshalVT(dAtA []byte) error
- type ArtistBiographyRequest
- func (x *ArtistBiographyRequest) GetId() string
- func (x *ArtistBiographyRequest) GetMbid() string
- func (x *ArtistBiographyRequest) GetName() string
- func (m *ArtistBiographyRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ArtistBiographyRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ArtistBiographyRequest) MarshalVT() (dAtA []byte, err error)
- func (x *ArtistBiographyRequest) ProtoReflect() protoreflect.Message
- func (m *ArtistBiographyRequest) SizeVT() (n int)
- func (m *ArtistBiographyRequest) UnmarshalVT(dAtA []byte) error
- type ArtistBiographyResponse
- func (x *ArtistBiographyResponse) GetBiography() string
- func (m *ArtistBiographyResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ArtistBiographyResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ArtistBiographyResponse) MarshalVT() (dAtA []byte, err error)
- func (x *ArtistBiographyResponse) ProtoReflect() protoreflect.Message
- func (m *ArtistBiographyResponse) SizeVT() (n int)
- func (m *ArtistBiographyResponse) UnmarshalVT(dAtA []byte) error
- type ArtistImageRequest
- func (x *ArtistImageRequest) GetId() string
- func (x *ArtistImageRequest) GetMbid() string
- func (x *ArtistImageRequest) GetName() string
- func (m *ArtistImageRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ArtistImageRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ArtistImageRequest) MarshalVT() (dAtA []byte, err error)
- func (x *ArtistImageRequest) ProtoReflect() protoreflect.Message
- func (m *ArtistImageRequest) SizeVT() (n int)
- func (m *ArtistImageRequest) UnmarshalVT(dAtA []byte) error
- type ArtistImageResponse
- func (x *ArtistImageResponse) GetImages() []*ExternalImage
- func (m *ArtistImageResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ArtistImageResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ArtistImageResponse) MarshalVT() (dAtA []byte, err error)
- func (x *ArtistImageResponse) ProtoReflect() protoreflect.Message
- func (m *ArtistImageResponse) SizeVT() (n int)
- func (m *ArtistImageResponse) UnmarshalVT(dAtA []byte) error
- type ArtistMBIDRequest
- func (x *ArtistMBIDRequest) GetId() string
- func (x *ArtistMBIDRequest) GetName() string
- func (m *ArtistMBIDRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ArtistMBIDRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ArtistMBIDRequest) MarshalVT() (dAtA []byte, err error)
- func (x *ArtistMBIDRequest) ProtoReflect() protoreflect.Message
- func (m *ArtistMBIDRequest) SizeVT() (n int)
- func (m *ArtistMBIDRequest) UnmarshalVT(dAtA []byte) error
- type ArtistMBIDResponse
- func (x *ArtistMBIDResponse) GetMbid() string
- func (m *ArtistMBIDResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ArtistMBIDResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ArtistMBIDResponse) MarshalVT() (dAtA []byte, err error)
- func (x *ArtistMBIDResponse) ProtoReflect() protoreflect.Message
- func (m *ArtistMBIDResponse) SizeVT() (n int)
- func (m *ArtistMBIDResponse) UnmarshalVT(dAtA []byte) error
- type ArtistSimilarRequest
- func (x *ArtistSimilarRequest) GetId() string
- func (x *ArtistSimilarRequest) GetLimit() int32
- func (x *ArtistSimilarRequest) GetMbid() string
- func (x *ArtistSimilarRequest) GetName() string
- func (m *ArtistSimilarRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ArtistSimilarRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ArtistSimilarRequest) MarshalVT() (dAtA []byte, err error)
- func (x *ArtistSimilarRequest) ProtoReflect() protoreflect.Message
- func (m *ArtistSimilarRequest) SizeVT() (n int)
- func (m *ArtistSimilarRequest) UnmarshalVT(dAtA []byte) error
- type ArtistSimilarResponse
- func (x *ArtistSimilarResponse) GetArtists() []*Artist
- func (m *ArtistSimilarResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ArtistSimilarResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ArtistSimilarResponse) MarshalVT() (dAtA []byte, err error)
- func (x *ArtistSimilarResponse) ProtoReflect() protoreflect.Message
- func (m *ArtistSimilarResponse) SizeVT() (n int)
- func (m *ArtistSimilarResponse) UnmarshalVT(dAtA []byte) error
- type ArtistTopSongsRequest
- func (x *ArtistTopSongsRequest) GetArtistName() string
- func (x *ArtistTopSongsRequest) GetCount() int32
- func (x *ArtistTopSongsRequest) GetId() string
- func (x *ArtistTopSongsRequest) GetMbid() string
- func (m *ArtistTopSongsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ArtistTopSongsRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ArtistTopSongsRequest) MarshalVT() (dAtA []byte, err error)
- func (x *ArtistTopSongsRequest) ProtoReflect() protoreflect.Message
- func (m *ArtistTopSongsRequest) SizeVT() (n int)
- func (m *ArtistTopSongsRequest) UnmarshalVT(dAtA []byte) error
- type ArtistTopSongsResponse
- func (x *ArtistTopSongsResponse) GetSongs() []*Song
- func (m *ArtistTopSongsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ArtistTopSongsResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ArtistTopSongsResponse) MarshalVT() (dAtA []byte, err error)
- func (x *ArtistTopSongsResponse) ProtoReflect() protoreflect.Message
- func (m *ArtistTopSongsResponse) SizeVT() (n int)
- func (m *ArtistTopSongsResponse) UnmarshalVT(dAtA []byte) error
- type ArtistURLRequest
- func (x *ArtistURLRequest) GetId() string
- func (x *ArtistURLRequest) GetMbid() string
- func (x *ArtistURLRequest) GetName() string
- func (m *ArtistURLRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ArtistURLRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ArtistURLRequest) MarshalVT() (dAtA []byte, err error)
- func (x *ArtistURLRequest) ProtoReflect() protoreflect.Message
- func (m *ArtistURLRequest) SizeVT() (n int)
- func (m *ArtistURLRequest) UnmarshalVT(dAtA []byte) error
- type ArtistURLResponse
- func (x *ArtistURLResponse) GetUrl() string
- func (m *ArtistURLResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ArtistURLResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ArtistURLResponse) MarshalVT() (dAtA []byte, err error)
- func (x *ArtistURLResponse) ProtoReflect() protoreflect.Message
- func (m *ArtistURLResponse) SizeVT() (n int)
- func (m *ArtistURLResponse) UnmarshalVT(dAtA []byte) error
- type ExternalImage
- func (x *ExternalImage) GetSize() int32
- func (x *ExternalImage) GetUrl() string
- func (m *ExternalImage) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ExternalImage) MarshalToVT(dAtA []byte) (int, error)
- func (m *ExternalImage) MarshalVT() (dAtA []byte, err error)
- func (x *ExternalImage) ProtoReflect() protoreflect.Message
- func (m *ExternalImage) SizeVT() (n int)
- func (m *ExternalImage) UnmarshalVT(dAtA []byte) error
- type InitRequest
- func (x *InitRequest) GetConfig() map[string]string
- func (m *InitRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *InitRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *InitRequest) MarshalVT() (dAtA []byte, err error)
- func (x *InitRequest) ProtoReflect() protoreflect.Message
- func (m *InitRequest) SizeVT() (n int)
- func (m *InitRequest) UnmarshalVT(dAtA []byte) error
- type InitResponse
- func (x *InitResponse) GetError() string
- func (m *InitResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *InitResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *InitResponse) MarshalVT() (dAtA []byte, err error)
- func (x *InitResponse) ProtoReflect() protoreflect.Message
- func (m *InitResponse) SizeVT() (n int)
- func (m *InitResponse) UnmarshalVT(dAtA []byte) error
- type LifecycleManagement
- type LifecycleManagementPlugin
- type MetadataAgent
- type MetadataAgentPlugin
- type OnBinaryMessageRequest
- func (x *OnBinaryMessageRequest) GetConnectionId() string
- func (x *OnBinaryMessageRequest) GetData() []byte
- func (m *OnBinaryMessageRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *OnBinaryMessageRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *OnBinaryMessageRequest) MarshalVT() (dAtA []byte, err error)
- func (x *OnBinaryMessageRequest) ProtoReflect() protoreflect.Message
- func (m *OnBinaryMessageRequest) SizeVT() (n int)
- func (m *OnBinaryMessageRequest) UnmarshalVT(dAtA []byte) error
- type OnBinaryMessageResponse
- func (m *OnBinaryMessageResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *OnBinaryMessageResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *OnBinaryMessageResponse) MarshalVT() (dAtA []byte, err error)
- func (x *OnBinaryMessageResponse) ProtoReflect() protoreflect.Message
- func (m *OnBinaryMessageResponse) SizeVT() (n int)
- func (m *OnBinaryMessageResponse) UnmarshalVT(dAtA []byte) error
- type OnCloseRequest
- func (x *OnCloseRequest) GetCode() int32
- func (x *OnCloseRequest) GetConnectionId() string
- func (x *OnCloseRequest) GetReason() string
- func (m *OnCloseRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *OnCloseRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *OnCloseRequest) MarshalVT() (dAtA []byte, err error)
- func (x *OnCloseRequest) ProtoReflect() protoreflect.Message
- func (m *OnCloseRequest) SizeVT() (n int)
- func (m *OnCloseRequest) UnmarshalVT(dAtA []byte) error
- type OnCloseResponse
- func (m *OnCloseResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *OnCloseResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *OnCloseResponse) MarshalVT() (dAtA []byte, err error)
- func (x *OnCloseResponse) ProtoReflect() protoreflect.Message
- func (m *OnCloseResponse) SizeVT() (n int)
- func (m *OnCloseResponse) UnmarshalVT(dAtA []byte) error
- type OnErrorRequest
- func (x *OnErrorRequest) GetConnectionId() string
- func (x *OnErrorRequest) GetError() string
- func (m *OnErrorRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *OnErrorRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *OnErrorRequest) MarshalVT() (dAtA []byte, err error)
- func (x *OnErrorRequest) ProtoReflect() protoreflect.Message
- func (m *OnErrorRequest) SizeVT() (n int)
- func (m *OnErrorRequest) UnmarshalVT(dAtA []byte) error
- type OnErrorResponse
- func (m *OnErrorResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *OnErrorResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *OnErrorResponse) MarshalVT() (dAtA []byte, err error)
- func (x *OnErrorResponse) ProtoReflect() protoreflect.Message
- func (m *OnErrorResponse) SizeVT() (n int)
- func (m *OnErrorResponse) UnmarshalVT(dAtA []byte) error
- type OnTextMessageRequest
- func (x *OnTextMessageRequest) GetConnectionId() string
- func (x *OnTextMessageRequest) GetMessage() string
- func (m *OnTextMessageRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *OnTextMessageRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *OnTextMessageRequest) MarshalVT() (dAtA []byte, err error)
- func (x *OnTextMessageRequest) ProtoReflect() protoreflect.Message
- func (m *OnTextMessageRequest) SizeVT() (n int)
- func (m *OnTextMessageRequest) UnmarshalVT(dAtA []byte) error
- type OnTextMessageResponse
- func (m *OnTextMessageResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *OnTextMessageResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *OnTextMessageResponse) MarshalVT() (dAtA []byte, err error)
- func (x *OnTextMessageResponse) ProtoReflect() protoreflect.Message
- func (m *OnTextMessageResponse) SizeVT() (n int)
- func (m *OnTextMessageResponse) UnmarshalVT(dAtA []byte) error
- type SchedulerCallback
- type SchedulerCallbackPlugin
- type SchedulerCallbackRequest
- func (x *SchedulerCallbackRequest) GetIsRecurring() bool
- func (x *SchedulerCallbackRequest) GetPayload() []byte
- func (x *SchedulerCallbackRequest) GetScheduleId() string
- func (m *SchedulerCallbackRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SchedulerCallbackRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *SchedulerCallbackRequest) MarshalVT() (dAtA []byte, err error)
- func (x *SchedulerCallbackRequest) ProtoReflect() protoreflect.Message
- func (m *SchedulerCallbackRequest) SizeVT() (n int)
- func (m *SchedulerCallbackRequest) UnmarshalVT(dAtA []byte) error
- type SchedulerCallbackResponse
- func (x *SchedulerCallbackResponse) GetError() string
- func (m *SchedulerCallbackResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SchedulerCallbackResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *SchedulerCallbackResponse) MarshalVT() (dAtA []byte, err error)
- func (x *SchedulerCallbackResponse) ProtoReflect() protoreflect.Message
- func (m *SchedulerCallbackResponse) SizeVT() (n int)
- func (m *SchedulerCallbackResponse) UnmarshalVT(dAtA []byte) error
- type Scrobbler
- type ScrobblerIsAuthorizedRequest
- func (x *ScrobblerIsAuthorizedRequest) GetUserId() string
- func (x *ScrobblerIsAuthorizedRequest) GetUsername() string
- func (m *ScrobblerIsAuthorizedRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ScrobblerIsAuthorizedRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ScrobblerIsAuthorizedRequest) MarshalVT() (dAtA []byte, err error)
- func (x *ScrobblerIsAuthorizedRequest) ProtoReflect() protoreflect.Message
- func (m *ScrobblerIsAuthorizedRequest) SizeVT() (n int)
- func (m *ScrobblerIsAuthorizedRequest) UnmarshalVT(dAtA []byte) error
- type ScrobblerIsAuthorizedResponse
- func (x *ScrobblerIsAuthorizedResponse) GetAuthorized() bool
- func (x *ScrobblerIsAuthorizedResponse) GetError() string
- func (m *ScrobblerIsAuthorizedResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ScrobblerIsAuthorizedResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ScrobblerIsAuthorizedResponse) MarshalVT() (dAtA []byte, err error)
- func (x *ScrobblerIsAuthorizedResponse) ProtoReflect() protoreflect.Message
- func (m *ScrobblerIsAuthorizedResponse) SizeVT() (n int)
- func (m *ScrobblerIsAuthorizedResponse) UnmarshalVT(dAtA []byte) error
- type ScrobblerNowPlayingRequest
- func (x *ScrobblerNowPlayingRequest) GetTimestamp() int64
- func (x *ScrobblerNowPlayingRequest) GetTrack() *TrackInfo
- func (x *ScrobblerNowPlayingRequest) GetUserId() string
- func (x *ScrobblerNowPlayingRequest) GetUsername() string
- func (m *ScrobblerNowPlayingRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ScrobblerNowPlayingRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ScrobblerNowPlayingRequest) MarshalVT() (dAtA []byte, err error)
- func (x *ScrobblerNowPlayingRequest) ProtoReflect() protoreflect.Message
- func (m *ScrobblerNowPlayingRequest) SizeVT() (n int)
- func (m *ScrobblerNowPlayingRequest) UnmarshalVT(dAtA []byte) error
- type ScrobblerNowPlayingResponse
- func (x *ScrobblerNowPlayingResponse) GetError() string
- func (m *ScrobblerNowPlayingResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ScrobblerNowPlayingResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ScrobblerNowPlayingResponse) MarshalVT() (dAtA []byte, err error)
- func (x *ScrobblerNowPlayingResponse) ProtoReflect() protoreflect.Message
- func (m *ScrobblerNowPlayingResponse) SizeVT() (n int)
- func (m *ScrobblerNowPlayingResponse) UnmarshalVT(dAtA []byte) error
- type ScrobblerPlugin
- type ScrobblerScrobbleRequest
- func (x *ScrobblerScrobbleRequest) GetTimestamp() int64
- func (x *ScrobblerScrobbleRequest) GetTrack() *TrackInfo
- func (x *ScrobblerScrobbleRequest) GetUserId() string
- func (x *ScrobblerScrobbleRequest) GetUsername() string
- func (m *ScrobblerScrobbleRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ScrobblerScrobbleRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ScrobblerScrobbleRequest) MarshalVT() (dAtA []byte, err error)
- func (x *ScrobblerScrobbleRequest) ProtoReflect() protoreflect.Message
- func (m *ScrobblerScrobbleRequest) SizeVT() (n int)
- func (m *ScrobblerScrobbleRequest) UnmarshalVT(dAtA []byte) error
- type ScrobblerScrobbleResponse
- func (x *ScrobblerScrobbleResponse) GetError() string
- func (m *ScrobblerScrobbleResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ScrobblerScrobbleResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ScrobblerScrobbleResponse) MarshalVT() (dAtA []byte, err error)
- func (x *ScrobblerScrobbleResponse) ProtoReflect() protoreflect.Message
- func (m *ScrobblerScrobbleResponse) SizeVT() (n int)
- func (m *ScrobblerScrobbleResponse) UnmarshalVT(dAtA []byte) error
- type Song
- func (x *Song) GetMbid() string
- func (x *Song) GetName() string
- func (m *Song) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Song) MarshalToVT(dAtA []byte) (int, error)
- func (m *Song) MarshalVT() (dAtA []byte, err error)
- func (x *Song) ProtoReflect() protoreflect.Message
- func (m *Song) SizeVT() (n int)
- func (m *Song) UnmarshalVT(dAtA []byte) error
- type TrackInfo
- func (x *TrackInfo) GetAlbum() string
- func (x *TrackInfo) GetAlbumArtists() []*Artist
- func (x *TrackInfo) GetAlbumMbid() string
- func (x *TrackInfo) GetArtists() []*Artist
- func (x *TrackInfo) GetId() string
- func (x *TrackInfo) GetLength() int32
- func (x *TrackInfo) GetMbid() string
- func (x *TrackInfo) GetName() string
- func (x *TrackInfo) GetPosition() int32
- func (m *TrackInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TrackInfo) MarshalToVT(dAtA []byte) (int, error)
- func (m *TrackInfo) MarshalVT() (dAtA []byte, err error)
- func (x *TrackInfo) ProtoReflect() protoreflect.Message
- func (m *TrackInfo) SizeVT() (n int)
- func (m *TrackInfo) UnmarshalVT(dAtA []byte) error
- type WazeroConfig
- type WazeroNewRuntime
- type WebSocketCallback
- type WebSocketCallbackPlugin
Constants ¶
View Source
const LifecycleManagementPluginAPIVersion = 1
View Source
const MetadataAgentPluginAPIVersion = 1
View Source
const SchedulerCallbackPluginAPIVersion = 1
View Source
const ScrobblerPluginAPIVersion = 1
View Source
const WebSocketCallbackPluginAPIVersion = 1
Variables ¶
View Source
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrNotFound = errors.New("plugin:not_found") ErrNotImplemented = errors.New("plugin:not_implemented") )
Functions ¶
func RegisterLifecycleManagement ¶
func RegisterLifecycleManagement(LifecycleManagement)
func RegisterMetadataAgent ¶
func RegisterMetadataAgent(MetadataAgent)
func RegisterNamedSchedulerCallback ¶
func RegisterNamedSchedulerCallback(name string, cb SchedulerCallback) scheduler.SchedulerService
func RegisterSchedulerCallback ¶
func RegisterSchedulerCallback(SchedulerCallback)
func RegisterScrobbler ¶
func RegisterScrobbler(Scrobbler)
func RegisterWebSocketCallback ¶
func RegisterWebSocketCallback(WebSocketCallback)
func WazeroModuleConfig ¶
func WazeroModuleConfig(moduleConfig wazero.ModuleConfig) wazeroConfigOption
func WazeroRuntime ¶
func WazeroRuntime(newRuntime WazeroNewRuntime) wazeroConfigOption
Types ¶
type AlbumImagesRequest ¶
type AlbumImagesRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Artist string `protobuf:"bytes,2,opt,name=artist,proto3" json:"artist,omitempty"`
Mbid string `protobuf:"bytes,3,opt,name=mbid,proto3" json:"mbid,omitempty"`
// contains filtered or unexported fields
}
func (*AlbumImagesRequest) GetArtist ¶
func (x *AlbumImagesRequest) GetArtist() string
func (*AlbumImagesRequest) GetMbid ¶
func (x *AlbumImagesRequest) GetMbid() string
func (*AlbumImagesRequest) GetName ¶
func (x *AlbumImagesRequest) GetName() string
func (*AlbumImagesRequest) MarshalToSizedBufferVT ¶
func (m *AlbumImagesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AlbumImagesRequest) MarshalToVT ¶
func (m *AlbumImagesRequest) MarshalToVT(dAtA []byte) (int, error)
func (*AlbumImagesRequest) MarshalVT ¶
func (m *AlbumImagesRequest) MarshalVT() (dAtA []byte, err error)
func (*AlbumImagesRequest) ProtoReflect ¶
func (x *AlbumImagesRequest) ProtoReflect() protoreflect.Message
func (*AlbumImagesRequest) SizeVT ¶
func (m *AlbumImagesRequest) SizeVT() (n int)
func (*AlbumImagesRequest) UnmarshalVT ¶
func (m *AlbumImagesRequest) UnmarshalVT(dAtA []byte) error
type AlbumImagesResponse ¶
type AlbumImagesResponse struct {
Images []*ExternalImage `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"`
// contains filtered or unexported fields
}
func (*AlbumImagesResponse) GetImages ¶
func (x *AlbumImagesResponse) GetImages() []*ExternalImage
func (*AlbumImagesResponse) MarshalToSizedBufferVT ¶
func (m *AlbumImagesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AlbumImagesResponse) MarshalToVT ¶
func (m *AlbumImagesResponse) MarshalToVT(dAtA []byte) (int, error)
func (*AlbumImagesResponse) MarshalVT ¶
func (m *AlbumImagesResponse) MarshalVT() (dAtA []byte, err error)
func (*AlbumImagesResponse) ProtoReflect ¶
func (x *AlbumImagesResponse) ProtoReflect() protoreflect.Message
func (*AlbumImagesResponse) SizeVT ¶
func (m *AlbumImagesResponse) SizeVT() (n int)
func (*AlbumImagesResponse) UnmarshalVT ¶
func (m *AlbumImagesResponse) UnmarshalVT(dAtA []byte) error
type AlbumInfo ¶
type AlbumInfo struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Mbid string `protobuf:"bytes,2,opt,name=mbid,proto3" json:"mbid,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`
// contains filtered or unexported fields
}
func (*AlbumInfo) GetDescription ¶
func (*AlbumInfo) MarshalToSizedBufferVT ¶
func (*AlbumInfo) ProtoReflect ¶
func (x *AlbumInfo) ProtoReflect() protoreflect.Message
func (*AlbumInfo) UnmarshalVT ¶
type AlbumInfoRequest ¶
type AlbumInfoRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Artist string `protobuf:"bytes,2,opt,name=artist,proto3" json:"artist,omitempty"`
Mbid string `protobuf:"bytes,3,opt,name=mbid,proto3" json:"mbid,omitempty"`
// contains filtered or unexported fields
}
func (*AlbumInfoRequest) GetArtist ¶
func (x *AlbumInfoRequest) GetArtist() string
func (*AlbumInfoRequest) GetMbid ¶
func (x *AlbumInfoRequest) GetMbid() string
func (*AlbumInfoRequest) GetName ¶
func (x *AlbumInfoRequest) GetName() string
func (*AlbumInfoRequest) MarshalToSizedBufferVT ¶
func (m *AlbumInfoRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AlbumInfoRequest) MarshalToVT ¶
func (m *AlbumInfoRequest) MarshalToVT(dAtA []byte) (int, error)
func (*AlbumInfoRequest) MarshalVT ¶
func (m *AlbumInfoRequest) MarshalVT() (dAtA []byte, err error)
func (*AlbumInfoRequest) ProtoReflect ¶
func (x *AlbumInfoRequest) ProtoReflect() protoreflect.Message
func (*AlbumInfoRequest) SizeVT ¶
func (m *AlbumInfoRequest) SizeVT() (n int)
func (*AlbumInfoRequest) UnmarshalVT ¶
func (m *AlbumInfoRequest) UnmarshalVT(dAtA []byte) error
type AlbumInfoResponse ¶
type AlbumInfoResponse struct {
Info *AlbumInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
// contains filtered or unexported fields
}
func (*AlbumInfoResponse) GetInfo ¶
func (x *AlbumInfoResponse) GetInfo() *AlbumInfo
func (*AlbumInfoResponse) MarshalToSizedBufferVT ¶
func (m *AlbumInfoResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AlbumInfoResponse) MarshalToVT ¶
func (m *AlbumInfoResponse) MarshalToVT(dAtA []byte) (int, error)
func (*AlbumInfoResponse) MarshalVT ¶
func (m *AlbumInfoResponse) MarshalVT() (dAtA []byte, err error)
func (*AlbumInfoResponse) ProtoReflect ¶
func (x *AlbumInfoResponse) ProtoReflect() protoreflect.Message
func (*AlbumInfoResponse) SizeVT ¶
func (m *AlbumInfoResponse) SizeVT() (n int)
func (*AlbumInfoResponse) UnmarshalVT ¶
func (m *AlbumInfoResponse) UnmarshalVT(dAtA []byte) error
type Artist ¶
type Artist struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Mbid string `protobuf:"bytes,2,opt,name=mbid,proto3" json:"mbid,omitempty"`
// contains filtered or unexported fields
}
func (*Artist) MarshalToSizedBufferVT ¶
func (*Artist) ProtoReflect ¶
func (x *Artist) ProtoReflect() protoreflect.Message
func (*Artist) UnmarshalVT ¶
type ArtistBiographyRequest ¶
type ArtistBiographyRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Mbid string `protobuf:"bytes,3,opt,name=mbid,proto3" json:"mbid,omitempty"`
// contains filtered or unexported fields
}
func (*ArtistBiographyRequest) GetId ¶
func (x *ArtistBiographyRequest) GetId() string
func (*ArtistBiographyRequest) GetMbid ¶
func (x *ArtistBiographyRequest) GetMbid() string
func (*ArtistBiographyRequest) GetName ¶
func (x *ArtistBiographyRequest) GetName() string
func (*ArtistBiographyRequest) MarshalToSizedBufferVT ¶
func (m *ArtistBiographyRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ArtistBiographyRequest) MarshalToVT ¶
func (m *ArtistBiographyRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ArtistBiographyRequest) MarshalVT ¶
func (m *ArtistBiographyRequest) MarshalVT() (dAtA []byte, err error)
func (*ArtistBiographyRequest) ProtoReflect ¶
func (x *ArtistBiographyRequest) ProtoReflect() protoreflect.Message
func (*ArtistBiographyRequest) SizeVT ¶
func (m *ArtistBiographyRequest) SizeVT() (n int)
func (*ArtistBiographyRequest) UnmarshalVT ¶
func (m *ArtistBiographyRequest) UnmarshalVT(dAtA []byte) error
type ArtistBiographyResponse ¶
type ArtistBiographyResponse struct {
Biography string `protobuf:"bytes,1,opt,name=biography,proto3" json:"biography,omitempty"`
// contains filtered or unexported fields
}
func (*ArtistBiographyResponse) GetBiography ¶
func (x *ArtistBiographyResponse) GetBiography() string
func (*ArtistBiographyResponse) MarshalToSizedBufferVT ¶
func (m *ArtistBiographyResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ArtistBiographyResponse) MarshalToVT ¶
func (m *ArtistBiographyResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ArtistBiographyResponse) MarshalVT ¶
func (m *ArtistBiographyResponse) MarshalVT() (dAtA []byte, err error)
func (*ArtistBiographyResponse) ProtoReflect ¶
func (x *ArtistBiographyResponse) ProtoReflect() protoreflect.Message
func (*ArtistBiographyResponse) SizeVT ¶
func (m *ArtistBiographyResponse) SizeVT() (n int)
func (*ArtistBiographyResponse) UnmarshalVT ¶
func (m *ArtistBiographyResponse) UnmarshalVT(dAtA []byte) error
type ArtistImageRequest ¶
type ArtistImageRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Mbid string `protobuf:"bytes,3,opt,name=mbid,proto3" json:"mbid,omitempty"`
// contains filtered or unexported fields
}
func (*ArtistImageRequest) GetId ¶
func (x *ArtistImageRequest) GetId() string
func (*ArtistImageRequest) GetMbid ¶
func (x *ArtistImageRequest) GetMbid() string
func (*ArtistImageRequest) GetName ¶
func (x *ArtistImageRequest) GetName() string
func (*ArtistImageRequest) MarshalToSizedBufferVT ¶
func (m *ArtistImageRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ArtistImageRequest) MarshalToVT ¶
func (m *ArtistImageRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ArtistImageRequest) MarshalVT ¶
func (m *ArtistImageRequest) MarshalVT() (dAtA []byte, err error)
func (*ArtistImageRequest) ProtoReflect ¶
func (x *ArtistImageRequest) ProtoReflect() protoreflect.Message
func (*ArtistImageRequest) SizeVT ¶
func (m *ArtistImageRequest) SizeVT() (n int)
func (*ArtistImageRequest) UnmarshalVT ¶
func (m *ArtistImageRequest) UnmarshalVT(dAtA []byte) error
type ArtistImageResponse ¶
type ArtistImageResponse struct {
Images []*ExternalImage `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"`
// contains filtered or unexported fields
}
func (*ArtistImageResponse) GetImages ¶
func (x *ArtistImageResponse) GetImages() []*ExternalImage
func (*ArtistImageResponse) MarshalToSizedBufferVT ¶
func (m *ArtistImageResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ArtistImageResponse) MarshalToVT ¶
func (m *ArtistImageResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ArtistImageResponse) MarshalVT ¶
func (m *ArtistImageResponse) MarshalVT() (dAtA []byte, err error)
func (*ArtistImageResponse) ProtoReflect ¶
func (x *ArtistImageResponse) ProtoReflect() protoreflect.Message
func (*ArtistImageResponse) SizeVT ¶
func (m *ArtistImageResponse) SizeVT() (n int)
func (*ArtistImageResponse) UnmarshalVT ¶
func (m *ArtistImageResponse) UnmarshalVT(dAtA []byte) error
type ArtistMBIDRequest ¶
type ArtistMBIDRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*ArtistMBIDRequest) GetId ¶
func (x *ArtistMBIDRequest) GetId() string
func (*ArtistMBIDRequest) GetName ¶
func (x *ArtistMBIDRequest) GetName() string
func (*ArtistMBIDRequest) MarshalToSizedBufferVT ¶
func (m *ArtistMBIDRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ArtistMBIDRequest) MarshalToVT ¶
func (m *ArtistMBIDRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ArtistMBIDRequest) MarshalVT ¶
func (m *ArtistMBIDRequest) MarshalVT() (dAtA []byte, err error)
func (*ArtistMBIDRequest) ProtoReflect ¶
func (x *ArtistMBIDRequest) ProtoReflect() protoreflect.Message
func (*ArtistMBIDRequest) SizeVT ¶
func (m *ArtistMBIDRequest) SizeVT() (n int)
func (*ArtistMBIDRequest) UnmarshalVT ¶
func (m *ArtistMBIDRequest) UnmarshalVT(dAtA []byte) error
type ArtistMBIDResponse ¶
type ArtistMBIDResponse struct {
Mbid string `protobuf:"bytes,1,opt,name=mbid,proto3" json:"mbid,omitempty"`
// contains filtered or unexported fields
}
func (*ArtistMBIDResponse) GetMbid ¶
func (x *ArtistMBIDResponse) GetMbid() string
func (*ArtistMBIDResponse) MarshalToSizedBufferVT ¶
func (m *ArtistMBIDResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ArtistMBIDResponse) MarshalToVT ¶
func (m *ArtistMBIDResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ArtistMBIDResponse) MarshalVT ¶
func (m *ArtistMBIDResponse) MarshalVT() (dAtA []byte, err error)
func (*ArtistMBIDResponse) ProtoReflect ¶
func (x *ArtistMBIDResponse) ProtoReflect() protoreflect.Message
func (*ArtistMBIDResponse) SizeVT ¶
func (m *ArtistMBIDResponse) SizeVT() (n int)
func (*ArtistMBIDResponse) UnmarshalVT ¶
func (m *ArtistMBIDResponse) UnmarshalVT(dAtA []byte) error
type ArtistSimilarRequest ¶
type ArtistSimilarRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Mbid string `protobuf:"bytes,3,opt,name=mbid,proto3" json:"mbid,omitempty"`
Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
// contains filtered or unexported fields
}
func (*ArtistSimilarRequest) GetId ¶
func (x *ArtistSimilarRequest) GetId() string
func (*ArtistSimilarRequest) GetLimit ¶
func (x *ArtistSimilarRequest) GetLimit() int32
func (*ArtistSimilarRequest) GetMbid ¶
func (x *ArtistSimilarRequest) GetMbid() string
func (*ArtistSimilarRequest) GetName ¶
func (x *ArtistSimilarRequest) GetName() string
func (*ArtistSimilarRequest) MarshalToSizedBufferVT ¶
func (m *ArtistSimilarRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ArtistSimilarRequest) MarshalToVT ¶
func (m *ArtistSimilarRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ArtistSimilarRequest) MarshalVT ¶
func (m *ArtistSimilarRequest) MarshalVT() (dAtA []byte, err error)
func (*ArtistSimilarRequest) ProtoReflect ¶
func (x *ArtistSimilarRequest) ProtoReflect() protoreflect.Message
func (*ArtistSimilarRequest) SizeVT ¶
func (m *ArtistSimilarRequest) SizeVT() (n int)
func (*ArtistSimilarRequest) UnmarshalVT ¶
func (m *ArtistSimilarRequest) UnmarshalVT(dAtA []byte) error
type ArtistSimilarResponse ¶
type ArtistSimilarResponse struct {
Artists []*Artist `protobuf:"bytes,1,rep,name=artists,proto3" json:"artists,omitempty"`
// contains filtered or unexported fields
}
func (*ArtistSimilarResponse) GetArtists ¶
func (x *ArtistSimilarResponse) GetArtists() []*Artist
func (*ArtistSimilarResponse) MarshalToSizedBufferVT ¶
func (m *ArtistSimilarResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ArtistSimilarResponse) MarshalToVT ¶
func (m *ArtistSimilarResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ArtistSimilarResponse) MarshalVT ¶
func (m *ArtistSimilarResponse) MarshalVT() (dAtA []byte, err error)
func (*ArtistSimilarResponse) ProtoReflect ¶
func (x *ArtistSimilarResponse) ProtoReflect() protoreflect.Message
func (*ArtistSimilarResponse) SizeVT ¶
func (m *ArtistSimilarResponse) SizeVT() (n int)
func (*ArtistSimilarResponse) UnmarshalVT ¶
func (m *ArtistSimilarResponse) UnmarshalVT(dAtA []byte) error
type ArtistTopSongsRequest ¶
type ArtistTopSongsRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
ArtistName string `protobuf:"bytes,2,opt,name=artistName,proto3" json:"artistName,omitempty"`
Mbid string `protobuf:"bytes,3,opt,name=mbid,proto3" json:"mbid,omitempty"`
Count int32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
// contains filtered or unexported fields
}
func (*ArtistTopSongsRequest) GetArtistName ¶
func (x *ArtistTopSongsRequest) GetArtistName() string
func (*ArtistTopSongsRequest) GetCount ¶
func (x *ArtistTopSongsRequest) GetCount() int32
func (*ArtistTopSongsRequest) GetId ¶
func (x *ArtistTopSongsRequest) GetId() string
func (*ArtistTopSongsRequest) GetMbid ¶
func (x *ArtistTopSongsRequest) GetMbid() string
func (*ArtistTopSongsRequest) MarshalToSizedBufferVT ¶
func (m *ArtistTopSongsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ArtistTopSongsRequest) MarshalToVT ¶
func (m *ArtistTopSongsRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ArtistTopSongsRequest) MarshalVT ¶
func (m *ArtistTopSongsRequest) MarshalVT() (dAtA []byte, err error)
func (*ArtistTopSongsRequest) ProtoReflect ¶
func (x *ArtistTopSongsRequest) ProtoReflect() protoreflect.Message
func (*ArtistTopSongsRequest) SizeVT ¶
func (m *ArtistTopSongsRequest) SizeVT() (n int)
func (*ArtistTopSongsRequest) UnmarshalVT ¶
func (m *ArtistTopSongsRequest) UnmarshalVT(dAtA []byte) error
type ArtistTopSongsResponse ¶
type ArtistTopSongsResponse struct {
Songs []*Song `protobuf:"bytes,1,rep,name=songs,proto3" json:"songs,omitempty"`
// contains filtered or unexported fields
}
func (*ArtistTopSongsResponse) GetSongs ¶
func (x *ArtistTopSongsResponse) GetSongs() []*Song
func (*ArtistTopSongsResponse) MarshalToSizedBufferVT ¶
func (m *ArtistTopSongsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ArtistTopSongsResponse) MarshalToVT ¶
func (m *ArtistTopSongsResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ArtistTopSongsResponse) MarshalVT ¶
func (m *ArtistTopSongsResponse) MarshalVT() (dAtA []byte, err error)
func (*ArtistTopSongsResponse) ProtoReflect ¶
func (x *ArtistTopSongsResponse) ProtoReflect() protoreflect.Message
func (*ArtistTopSongsResponse) SizeVT ¶
func (m *ArtistTopSongsResponse) SizeVT() (n int)
func (*ArtistTopSongsResponse) UnmarshalVT ¶
func (m *ArtistTopSongsResponse) UnmarshalVT(dAtA []byte) error
type ArtistURLRequest ¶
type ArtistURLRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Mbid string `protobuf:"bytes,3,opt,name=mbid,proto3" json:"mbid,omitempty"`
// contains filtered or unexported fields
}
func (*ArtistURLRequest) GetId ¶
func (x *ArtistURLRequest) GetId() string
func (*ArtistURLRequest) GetMbid ¶
func (x *ArtistURLRequest) GetMbid() string
func (*ArtistURLRequest) GetName ¶
func (x *ArtistURLRequest) GetName() string
func (*ArtistURLRequest) MarshalToSizedBufferVT ¶
func (m *ArtistURLRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ArtistURLRequest) MarshalToVT ¶
func (m *ArtistURLRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ArtistURLRequest) MarshalVT ¶
func (m *ArtistURLRequest) MarshalVT() (dAtA []byte, err error)
func (*ArtistURLRequest) ProtoReflect ¶
func (x *ArtistURLRequest) ProtoReflect() protoreflect.Message
func (*ArtistURLRequest) SizeVT ¶
func (m *ArtistURLRequest) SizeVT() (n int)
func (*ArtistURLRequest) UnmarshalVT ¶
func (m *ArtistURLRequest) UnmarshalVT(dAtA []byte) error
type ArtistURLResponse ¶
type ArtistURLResponse struct {
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
// contains filtered or unexported fields
}
func (*ArtistURLResponse) GetUrl ¶
func (x *ArtistURLResponse) GetUrl() string
func (*ArtistURLResponse) MarshalToSizedBufferVT ¶
func (m *ArtistURLResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ArtistURLResponse) MarshalToVT ¶
func (m *ArtistURLResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ArtistURLResponse) MarshalVT ¶
func (m *ArtistURLResponse) MarshalVT() (dAtA []byte, err error)
func (*ArtistURLResponse) ProtoReflect ¶
func (x *ArtistURLResponse) ProtoReflect() protoreflect.Message
func (*ArtistURLResponse) SizeVT ¶
func (m *ArtistURLResponse) SizeVT() (n int)
func (*ArtistURLResponse) UnmarshalVT ¶
func (m *ArtistURLResponse) UnmarshalVT(dAtA []byte) error
type ExternalImage ¶
type ExternalImage struct {
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
// contains filtered or unexported fields
}
func (*ExternalImage) GetSize ¶
func (x *ExternalImage) GetSize() int32
func (*ExternalImage) GetUrl ¶
func (x *ExternalImage) GetUrl() string
func (*ExternalImage) MarshalToSizedBufferVT ¶
func (m *ExternalImage) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ExternalImage) MarshalToVT ¶
func (m *ExternalImage) MarshalToVT(dAtA []byte) (int, error)
func (*ExternalImage) MarshalVT ¶
func (m *ExternalImage) MarshalVT() (dAtA []byte, err error)
func (*ExternalImage) ProtoReflect ¶
func (x *ExternalImage) ProtoReflect() protoreflect.Message
func (*ExternalImage) SizeVT ¶
func (m *ExternalImage) SizeVT() (n int)
func (*ExternalImage) UnmarshalVT ¶
func (m *ExternalImage) UnmarshalVT(dAtA []byte) error
type InitRequest ¶
type InitRequest struct {
// Empty for now
Config map[string]string `` // Configuration specific to this plugin
/* 153-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*InitRequest) GetConfig ¶
func (x *InitRequest) GetConfig() map[string]string
func (*InitRequest) MarshalToSizedBufferVT ¶
func (m *InitRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*InitRequest) MarshalToVT ¶
func (m *InitRequest) MarshalToVT(dAtA []byte) (int, error)
func (*InitRequest) MarshalVT ¶
func (m *InitRequest) MarshalVT() (dAtA []byte, err error)
func (*InitRequest) ProtoReflect ¶
func (x *InitRequest) ProtoReflect() protoreflect.Message
func (*InitRequest) SizeVT ¶
func (m *InitRequest) SizeVT() (n int)
func (*InitRequest) UnmarshalVT ¶
func (m *InitRequest) UnmarshalVT(dAtA []byte) error
type InitResponse ¶
type InitResponse struct {
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // Error message if initialization failed
// contains filtered or unexported fields
}
func (*InitResponse) GetError ¶
func (x *InitResponse) GetError() string
func (*InitResponse) MarshalToSizedBufferVT ¶
func (m *InitResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*InitResponse) MarshalToVT ¶
func (m *InitResponse) MarshalToVT(dAtA []byte) (int, error)
func (*InitResponse) MarshalVT ¶
func (m *InitResponse) MarshalVT() (dAtA []byte, err error)
func (*InitResponse) ProtoReflect ¶
func (x *InitResponse) ProtoReflect() protoreflect.Message
func (*InitResponse) SizeVT ¶
func (m *InitResponse) SizeVT() (n int)
func (*InitResponse) UnmarshalVT ¶
func (m *InitResponse) UnmarshalVT(dAtA []byte) error
type LifecycleManagement ¶
type LifecycleManagement interface {
OnInit(context.Context, *InitRequest) (*InitResponse, error)
}
go:plugin type=plugin version=1
type LifecycleManagementPlugin ¶
type LifecycleManagementPlugin struct {
// contains filtered or unexported fields
}
func NewLifecycleManagementPlugin ¶
func NewLifecycleManagementPlugin(ctx context.Context, opts ...wazeroConfigOption) (*LifecycleManagementPlugin, error)
type MetadataAgent ¶
type MetadataAgent interface {
// Artist metadata methods
GetArtistMBID(context.Context, *ArtistMBIDRequest) (*ArtistMBIDResponse, error)
GetArtistURL(context.Context, *ArtistURLRequest) (*ArtistURLResponse, error)
GetArtistBiography(context.Context, *ArtistBiographyRequest) (*ArtistBiographyResponse, error)
GetSimilarArtists(context.Context, *ArtistSimilarRequest) (*ArtistSimilarResponse, error)
GetArtistImages(context.Context, *ArtistImageRequest) (*ArtistImageResponse, error)
GetArtistTopSongs(context.Context, *ArtistTopSongsRequest) (*ArtistTopSongsResponse, error)
// Album metadata methods
GetAlbumInfo(context.Context, *AlbumInfoRequest) (*AlbumInfoResponse, error)
GetAlbumImages(context.Context, *AlbumImagesRequest) (*AlbumImagesResponse, error)
}
go:plugin type=plugin version=1
type MetadataAgentPlugin ¶
type MetadataAgentPlugin struct {
// contains filtered or unexported fields
}
func NewMetadataAgentPlugin ¶
func NewMetadataAgentPlugin(ctx context.Context, opts ...wazeroConfigOption) (*MetadataAgentPlugin, error)
type OnBinaryMessageRequest ¶
type OnBinaryMessageRequest struct {
ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*OnBinaryMessageRequest) GetConnectionId ¶
func (x *OnBinaryMessageRequest) GetConnectionId() string
func (*OnBinaryMessageRequest) GetData ¶
func (x *OnBinaryMessageRequest) GetData() []byte
func (*OnBinaryMessageRequest) MarshalToSizedBufferVT ¶
func (m *OnBinaryMessageRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*OnBinaryMessageRequest) MarshalToVT ¶
func (m *OnBinaryMessageRequest) MarshalToVT(dAtA []byte) (int, error)
func (*OnBinaryMessageRequest) MarshalVT ¶
func (m *OnBinaryMessageRequest) MarshalVT() (dAtA []byte, err error)
func (*OnBinaryMessageRequest) ProtoReflect ¶
func (x *OnBinaryMessageRequest) ProtoReflect() protoreflect.Message
func (*OnBinaryMessageRequest) SizeVT ¶
func (m *OnBinaryMessageRequest) SizeVT() (n int)
func (*OnBinaryMessageRequest) UnmarshalVT ¶
func (m *OnBinaryMessageRequest) UnmarshalVT(dAtA []byte) error
type OnBinaryMessageResponse ¶
type OnBinaryMessageResponse struct {
// contains filtered or unexported fields
}
func (*OnBinaryMessageResponse) MarshalToSizedBufferVT ¶
func (m *OnBinaryMessageResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*OnBinaryMessageResponse) MarshalToVT ¶
func (m *OnBinaryMessageResponse) MarshalToVT(dAtA []byte) (int, error)
func (*OnBinaryMessageResponse) MarshalVT ¶
func (m *OnBinaryMessageResponse) MarshalVT() (dAtA []byte, err error)
func (*OnBinaryMessageResponse) ProtoReflect ¶
func (x *OnBinaryMessageResponse) ProtoReflect() protoreflect.Message
func (*OnBinaryMessageResponse) SizeVT ¶
func (m *OnBinaryMessageResponse) SizeVT() (n int)
func (*OnBinaryMessageResponse) UnmarshalVT ¶
func (m *OnBinaryMessageResponse) UnmarshalVT(dAtA []byte) error
type OnCloseRequest ¶
type OnCloseRequest struct {
ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
Code int32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"`
Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
// contains filtered or unexported fields
}
func (*OnCloseRequest) GetCode ¶
func (x *OnCloseRequest) GetCode() int32
func (*OnCloseRequest) GetConnectionId ¶
func (x *OnCloseRequest) GetConnectionId() string
func (*OnCloseRequest) GetReason ¶
func (x *OnCloseRequest) GetReason() string
func (*OnCloseRequest) MarshalToSizedBufferVT ¶
func (m *OnCloseRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*OnCloseRequest) MarshalToVT ¶
func (m *OnCloseRequest) MarshalToVT(dAtA []byte) (int, error)
func (*OnCloseRequest) MarshalVT ¶
func (m *OnCloseRequest) MarshalVT() (dAtA []byte, err error)
func (*OnCloseRequest) ProtoReflect ¶
func (x *OnCloseRequest) ProtoReflect() protoreflect.Message
func (*OnCloseRequest) SizeVT ¶
func (m *OnCloseRequest) SizeVT() (n int)
func (*OnCloseRequest) UnmarshalVT ¶
func (m *OnCloseRequest) UnmarshalVT(dAtA []byte) error
type OnCloseResponse ¶
type OnCloseResponse struct {
// contains filtered or unexported fields
}
func (*OnCloseResponse) MarshalToSizedBufferVT ¶
func (m *OnCloseResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*OnCloseResponse) MarshalToVT ¶
func (m *OnCloseResponse) MarshalToVT(dAtA []byte) (int, error)
func (*OnCloseResponse) MarshalVT ¶
func (m *OnCloseResponse) MarshalVT() (dAtA []byte, err error)
func (*OnCloseResponse) ProtoReflect ¶
func (x *OnCloseResponse) ProtoReflect() protoreflect.Message
func (*OnCloseResponse) SizeVT ¶
func (m *OnCloseResponse) SizeVT() (n int)
func (*OnCloseResponse) UnmarshalVT ¶
func (m *OnCloseResponse) UnmarshalVT(dAtA []byte) error
type OnErrorRequest ¶
type OnErrorRequest struct {
ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*OnErrorRequest) GetConnectionId ¶
func (x *OnErrorRequest) GetConnectionId() string
func (*OnErrorRequest) GetError ¶
func (x *OnErrorRequest) GetError() string
func (*OnErrorRequest) MarshalToSizedBufferVT ¶
func (m *OnErrorRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*OnErrorRequest) MarshalToVT ¶
func (m *OnErrorRequest) MarshalToVT(dAtA []byte) (int, error)
func (*OnErrorRequest) MarshalVT ¶
func (m *OnErrorRequest) MarshalVT() (dAtA []byte, err error)
func (*OnErrorRequest) ProtoReflect ¶
func (x *OnErrorRequest) ProtoReflect() protoreflect.Message
func (*OnErrorRequest) SizeVT ¶
func (m *OnErrorRequest) SizeVT() (n int)
func (*OnErrorRequest) UnmarshalVT ¶
func (m *OnErrorRequest) UnmarshalVT(dAtA []byte) error
type OnErrorResponse ¶
type OnErrorResponse struct {
// contains filtered or unexported fields
}
func (*OnErrorResponse) MarshalToSizedBufferVT ¶
func (m *OnErrorResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*OnErrorResponse) MarshalToVT ¶
func (m *OnErrorResponse) MarshalToVT(dAtA []byte) (int, error)
func (*OnErrorResponse) MarshalVT ¶
func (m *OnErrorResponse) MarshalVT() (dAtA []byte, err error)
func (*OnErrorResponse) ProtoReflect ¶
func (x *OnErrorResponse) ProtoReflect() protoreflect.Message
func (*OnErrorResponse) SizeVT ¶
func (m *OnErrorResponse) SizeVT() (n int)
func (*OnErrorResponse) UnmarshalVT ¶
func (m *OnErrorResponse) UnmarshalVT(dAtA []byte) error
type OnTextMessageRequest ¶
type OnTextMessageRequest struct {
ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*OnTextMessageRequest) GetConnectionId ¶
func (x *OnTextMessageRequest) GetConnectionId() string
func (*OnTextMessageRequest) GetMessage ¶
func (x *OnTextMessageRequest) GetMessage() string
func (*OnTextMessageRequest) MarshalToSizedBufferVT ¶
func (m *OnTextMessageRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*OnTextMessageRequest) MarshalToVT ¶
func (m *OnTextMessageRequest) MarshalToVT(dAtA []byte) (int, error)
func (*OnTextMessageRequest) MarshalVT ¶
func (m *OnTextMessageRequest) MarshalVT() (dAtA []byte, err error)
func (*OnTextMessageRequest) ProtoReflect ¶
func (x *OnTextMessageRequest) ProtoReflect() protoreflect.Message
func (*OnTextMessageRequest) SizeVT ¶
func (m *OnTextMessageRequest) SizeVT() (n int)
func (*OnTextMessageRequest) UnmarshalVT ¶
func (m *OnTextMessageRequest) UnmarshalVT(dAtA []byte) error
type OnTextMessageResponse ¶
type OnTextMessageResponse struct {
// contains filtered or unexported fields
}
func (*OnTextMessageResponse) MarshalToSizedBufferVT ¶
func (m *OnTextMessageResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*OnTextMessageResponse) MarshalToVT ¶
func (m *OnTextMessageResponse) MarshalToVT(dAtA []byte) (int, error)
func (*OnTextMessageResponse) MarshalVT ¶
func (m *OnTextMessageResponse) MarshalVT() (dAtA []byte, err error)
func (*OnTextMessageResponse) ProtoReflect ¶
func (x *OnTextMessageResponse) ProtoReflect() protoreflect.Message
func (*OnTextMessageResponse) SizeVT ¶
func (m *OnTextMessageResponse) SizeVT() (n int)
func (*OnTextMessageResponse) UnmarshalVT ¶
func (m *OnTextMessageResponse) UnmarshalVT(dAtA []byte) error
type SchedulerCallback ¶
type SchedulerCallback interface {
OnSchedulerCallback(context.Context, *SchedulerCallbackRequest) (*SchedulerCallbackResponse, error)
}
go:plugin type=plugin version=1
type SchedulerCallbackPlugin ¶
type SchedulerCallbackPlugin struct {
// contains filtered or unexported fields
}
func NewSchedulerCallbackPlugin ¶
func NewSchedulerCallbackPlugin(ctx context.Context, opts ...wazeroConfigOption) (*SchedulerCallbackPlugin, error)
type SchedulerCallbackRequest ¶
type SchedulerCallbackRequest struct {
ScheduleId string `protobuf:"bytes,1,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"` // ID of the scheduled job that triggered this callback
Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` // The data passed when the job was scheduled
IsRecurring bool `protobuf:"varint,3,opt,name=is_recurring,json=isRecurring,proto3" json:"is_recurring,omitempty"` // Whether this is from a recurring schedule (cron job)
// contains filtered or unexported fields
}
func (*SchedulerCallbackRequest) GetIsRecurring ¶
func (x *SchedulerCallbackRequest) GetIsRecurring() bool
func (*SchedulerCallbackRequest) GetPayload ¶
func (x *SchedulerCallbackRequest) GetPayload() []byte
func (*SchedulerCallbackRequest) GetScheduleId ¶
func (x *SchedulerCallbackRequest) GetScheduleId() string
func (*SchedulerCallbackRequest) MarshalToSizedBufferVT ¶
func (m *SchedulerCallbackRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SchedulerCallbackRequest) MarshalToVT ¶
func (m *SchedulerCallbackRequest) MarshalToVT(dAtA []byte) (int, error)
func (*SchedulerCallbackRequest) MarshalVT ¶
func (m *SchedulerCallbackRequest) MarshalVT() (dAtA []byte, err error)
func (*SchedulerCallbackRequest) ProtoReflect ¶
func (x *SchedulerCallbackRequest) ProtoReflect() protoreflect.Message
func (*SchedulerCallbackRequest) SizeVT ¶
func (m *SchedulerCallbackRequest) SizeVT() (n int)
func (*SchedulerCallbackRequest) UnmarshalVT ¶
func (m *SchedulerCallbackRequest) UnmarshalVT(dAtA []byte) error
type SchedulerCallbackResponse ¶
type SchedulerCallbackResponse struct {
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // Error message if the callback failed
// contains filtered or unexported fields
}
func (*SchedulerCallbackResponse) GetError ¶
func (x *SchedulerCallbackResponse) GetError() string
func (*SchedulerCallbackResponse) MarshalToSizedBufferVT ¶
func (m *SchedulerCallbackResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SchedulerCallbackResponse) MarshalToVT ¶
func (m *SchedulerCallbackResponse) MarshalToVT(dAtA []byte) (int, error)
func (*SchedulerCallbackResponse) MarshalVT ¶
func (m *SchedulerCallbackResponse) MarshalVT() (dAtA []byte, err error)
func (*SchedulerCallbackResponse) ProtoReflect ¶
func (x *SchedulerCallbackResponse) ProtoReflect() protoreflect.Message
func (*SchedulerCallbackResponse) SizeVT ¶
func (m *SchedulerCallbackResponse) SizeVT() (n int)
func (*SchedulerCallbackResponse) UnmarshalVT ¶
func (m *SchedulerCallbackResponse) UnmarshalVT(dAtA []byte) error
type Scrobbler ¶
type Scrobbler interface {
IsAuthorized(context.Context, *ScrobblerIsAuthorizedRequest) (*ScrobblerIsAuthorizedResponse, error)
NowPlaying(context.Context, *ScrobblerNowPlayingRequest) (*ScrobblerNowPlayingResponse, error)
Scrobble(context.Context, *ScrobblerScrobbleRequest) (*ScrobblerScrobbleResponse, error)
}
go:plugin type=plugin version=1
type ScrobblerIsAuthorizedRequest ¶
type ScrobblerIsAuthorizedRequest struct {
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
// contains filtered or unexported fields
}
func (*ScrobblerIsAuthorizedRequest) GetUserId ¶
func (x *ScrobblerIsAuthorizedRequest) GetUserId() string
func (*ScrobblerIsAuthorizedRequest) GetUsername ¶
func (x *ScrobblerIsAuthorizedRequest) GetUsername() string
func (*ScrobblerIsAuthorizedRequest) MarshalToSizedBufferVT ¶
func (m *ScrobblerIsAuthorizedRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ScrobblerIsAuthorizedRequest) MarshalToVT ¶
func (m *ScrobblerIsAuthorizedRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ScrobblerIsAuthorizedRequest) MarshalVT ¶
func (m *ScrobblerIsAuthorizedRequest) MarshalVT() (dAtA []byte, err error)
func (*ScrobblerIsAuthorizedRequest) ProtoReflect ¶
func (x *ScrobblerIsAuthorizedRequest) ProtoReflect() protoreflect.Message
func (*ScrobblerIsAuthorizedRequest) SizeVT ¶
func (m *ScrobblerIsAuthorizedRequest) SizeVT() (n int)
func (*ScrobblerIsAuthorizedRequest) UnmarshalVT ¶
func (m *ScrobblerIsAuthorizedRequest) UnmarshalVT(dAtA []byte) error
type ScrobblerIsAuthorizedResponse ¶
type ScrobblerIsAuthorizedResponse struct {
Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*ScrobblerIsAuthorizedResponse) GetAuthorized ¶
func (x *ScrobblerIsAuthorizedResponse) GetAuthorized() bool
func (*ScrobblerIsAuthorizedResponse) GetError ¶
func (x *ScrobblerIsAuthorizedResponse) GetError() string
func (*ScrobblerIsAuthorizedResponse) MarshalToSizedBufferVT ¶
func (m *ScrobblerIsAuthorizedResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ScrobblerIsAuthorizedResponse) MarshalToVT ¶
func (m *ScrobblerIsAuthorizedResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ScrobblerIsAuthorizedResponse) MarshalVT ¶
func (m *ScrobblerIsAuthorizedResponse) MarshalVT() (dAtA []byte, err error)
func (*ScrobblerIsAuthorizedResponse) ProtoReflect ¶
func (x *ScrobblerIsAuthorizedResponse) ProtoReflect() protoreflect.Message
func (*ScrobblerIsAuthorizedResponse) SizeVT ¶
func (m *ScrobblerIsAuthorizedResponse) SizeVT() (n int)
func (*ScrobblerIsAuthorizedResponse) UnmarshalVT ¶
func (m *ScrobblerIsAuthorizedResponse) UnmarshalVT(dAtA []byte) error
type ScrobblerNowPlayingRequest ¶
type ScrobblerNowPlayingRequest struct {
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
Track *TrackInfo `protobuf:"bytes,3,opt,name=track,proto3" json:"track,omitempty"`
Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// contains filtered or unexported fields
}
func (*ScrobblerNowPlayingRequest) GetTimestamp ¶
func (x *ScrobblerNowPlayingRequest) GetTimestamp() int64
func (*ScrobblerNowPlayingRequest) GetTrack ¶
func (x *ScrobblerNowPlayingRequest) GetTrack() *TrackInfo
func (*ScrobblerNowPlayingRequest) GetUserId ¶
func (x *ScrobblerNowPlayingRequest) GetUserId() string
func (*ScrobblerNowPlayingRequest) GetUsername ¶
func (x *ScrobblerNowPlayingRequest) GetUsername() string
func (*ScrobblerNowPlayingRequest) MarshalToSizedBufferVT ¶
func (m *ScrobblerNowPlayingRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ScrobblerNowPlayingRequest) MarshalToVT ¶
func (m *ScrobblerNowPlayingRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ScrobblerNowPlayingRequest) MarshalVT ¶
func (m *ScrobblerNowPlayingRequest) MarshalVT() (dAtA []byte, err error)
func (*ScrobblerNowPlayingRequest) ProtoReflect ¶
func (x *ScrobblerNowPlayingRequest) ProtoReflect() protoreflect.Message
func (*ScrobblerNowPlayingRequest) SizeVT ¶
func (m *ScrobblerNowPlayingRequest) SizeVT() (n int)
func (*ScrobblerNowPlayingRequest) UnmarshalVT ¶
func (m *ScrobblerNowPlayingRequest) UnmarshalVT(dAtA []byte) error
type ScrobblerNowPlayingResponse ¶
type ScrobblerNowPlayingResponse struct {
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*ScrobblerNowPlayingResponse) GetError ¶
func (x *ScrobblerNowPlayingResponse) GetError() string
func (*ScrobblerNowPlayingResponse) MarshalToSizedBufferVT ¶
func (m *ScrobblerNowPlayingResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ScrobblerNowPlayingResponse) MarshalToVT ¶
func (m *ScrobblerNowPlayingResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ScrobblerNowPlayingResponse) MarshalVT ¶
func (m *ScrobblerNowPlayingResponse) MarshalVT() (dAtA []byte, err error)
func (*ScrobblerNowPlayingResponse) ProtoReflect ¶
func (x *ScrobblerNowPlayingResponse) ProtoReflect() protoreflect.Message
func (*ScrobblerNowPlayingResponse) SizeVT ¶
func (m *ScrobblerNowPlayingResponse) SizeVT() (n int)
func (*ScrobblerNowPlayingResponse) UnmarshalVT ¶
func (m *ScrobblerNowPlayingResponse) UnmarshalVT(dAtA []byte) error
type ScrobblerPlugin ¶
type ScrobblerPlugin struct {
// contains filtered or unexported fields
}
func NewScrobblerPlugin ¶
func NewScrobblerPlugin(ctx context.Context, opts ...wazeroConfigOption) (*ScrobblerPlugin, error)
type ScrobblerScrobbleRequest ¶
type ScrobblerScrobbleRequest struct {
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
Track *TrackInfo `protobuf:"bytes,3,opt,name=track,proto3" json:"track,omitempty"`
Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// contains filtered or unexported fields
}
func (*ScrobblerScrobbleRequest) GetTimestamp ¶
func (x *ScrobblerScrobbleRequest) GetTimestamp() int64
func (*ScrobblerScrobbleRequest) GetTrack ¶
func (x *ScrobblerScrobbleRequest) GetTrack() *TrackInfo
func (*ScrobblerScrobbleRequest) GetUserId ¶
func (x *ScrobblerScrobbleRequest) GetUserId() string
func (*ScrobblerScrobbleRequest) GetUsername ¶
func (x *ScrobblerScrobbleRequest) GetUsername() string
func (*ScrobblerScrobbleRequest) MarshalToSizedBufferVT ¶
func (m *ScrobblerScrobbleRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ScrobblerScrobbleRequest) MarshalToVT ¶
func (m *ScrobblerScrobbleRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ScrobblerScrobbleRequest) MarshalVT ¶
func (m *ScrobblerScrobbleRequest) MarshalVT() (dAtA []byte, err error)
func (*ScrobblerScrobbleRequest) ProtoReflect ¶
func (x *ScrobblerScrobbleRequest) ProtoReflect() protoreflect.Message
func (*ScrobblerScrobbleRequest) SizeVT ¶
func (m *ScrobblerScrobbleRequest) SizeVT() (n int)
func (*ScrobblerScrobbleRequest) UnmarshalVT ¶
func (m *ScrobblerScrobbleRequest) UnmarshalVT(dAtA []byte) error
type ScrobblerScrobbleResponse ¶
type ScrobblerScrobbleResponse struct {
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*ScrobblerScrobbleResponse) GetError ¶
func (x *ScrobblerScrobbleResponse) GetError() string
func (*ScrobblerScrobbleResponse) MarshalToSizedBufferVT ¶
func (m *ScrobblerScrobbleResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ScrobblerScrobbleResponse) MarshalToVT ¶
func (m *ScrobblerScrobbleResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ScrobblerScrobbleResponse) MarshalVT ¶
func (m *ScrobblerScrobbleResponse) MarshalVT() (dAtA []byte, err error)
func (*ScrobblerScrobbleResponse) ProtoReflect ¶
func (x *ScrobblerScrobbleResponse) ProtoReflect() protoreflect.Message
func (*ScrobblerScrobbleResponse) SizeVT ¶
func (m *ScrobblerScrobbleResponse) SizeVT() (n int)
func (*ScrobblerScrobbleResponse) UnmarshalVT ¶
func (m *ScrobblerScrobbleResponse) UnmarshalVT(dAtA []byte) error
type Song ¶
type Song struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Mbid string `protobuf:"bytes,2,opt,name=mbid,proto3" json:"mbid,omitempty"`
// contains filtered or unexported fields
}
func (*Song) MarshalToSizedBufferVT ¶
func (*Song) ProtoReflect ¶
func (x *Song) ProtoReflect() protoreflect.Message
func (*Song) UnmarshalVT ¶
type TrackInfo ¶
type TrackInfo struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Mbid string `protobuf:"bytes,2,opt,name=mbid,proto3" json:"mbid,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Album string `protobuf:"bytes,4,opt,name=album,proto3" json:"album,omitempty"`
AlbumMbid string `protobuf:"bytes,5,opt,name=album_mbid,json=albumMbid,proto3" json:"album_mbid,omitempty"`
Artists []*Artist `protobuf:"bytes,6,rep,name=artists,proto3" json:"artists,omitempty"`
AlbumArtists []*Artist `protobuf:"bytes,7,rep,name=album_artists,json=albumArtists,proto3" json:"album_artists,omitempty"`
Length int32 `protobuf:"varint,8,opt,name=length,proto3" json:"length,omitempty"` // seconds
Position int32 `protobuf:"varint,9,opt,name=position,proto3" json:"position,omitempty"` // seconds
// contains filtered or unexported fields
}
func (*TrackInfo) GetAlbumArtists ¶
func (*TrackInfo) GetAlbumMbid ¶
func (*TrackInfo) GetArtists ¶
func (*TrackInfo) GetPosition ¶
func (*TrackInfo) MarshalToSizedBufferVT ¶
func (*TrackInfo) ProtoReflect ¶
func (x *TrackInfo) ProtoReflect() protoreflect.Message
func (*TrackInfo) UnmarshalVT ¶
type WazeroConfig ¶
type WazeroConfig struct {
// contains filtered or unexported fields
}
type WazeroNewRuntime ¶
func DefaultWazeroRuntime ¶
func DefaultWazeroRuntime() WazeroNewRuntime
type WebSocketCallback ¶
type WebSocketCallback interface {
// Called when a text message is received
OnTextMessage(context.Context, *OnTextMessageRequest) (*OnTextMessageResponse, error)
// Called when a binary message is received
OnBinaryMessage(context.Context, *OnBinaryMessageRequest) (*OnBinaryMessageResponse, error)
// Called when an error occurs
OnError(context.Context, *OnErrorRequest) (*OnErrorResponse, error)
// Called when the connection is closed
OnClose(context.Context, *OnCloseRequest) (*OnCloseResponse, error)
}
go:plugin type=plugin version=1
type WebSocketCallbackPlugin ¶
type WebSocketCallbackPlugin struct {
// contains filtered or unexported fields
}
func NewWebSocketCallbackPlugin ¶
func NewWebSocketCallbackPlugin(ctx context.Context, opts ...wazeroConfigOption) (*WebSocketCallbackPlugin, error)
Click to show internal directories.
Click to hide internal directories.