Documentation
¶
Index ¶
- Variables
- func RegisterFortissimoServer(s *grpc.Server, srv FortissimoServer)
- type FortissimoClient
- type FortissimoServer
- type Fortissimo_GetSongsClient
- type Fortissimo_GetSongsServer
- type GetSongRequest
- type GetSongResponse
- type GetSongsRequest
- type GetSongsResponse
- type RemoveSongRequest
- type RemoveSongResponse
- type Song
- func (*Song) Descriptor() ([]byte, []int)deprecated
- func (x *Song) GetAlbum() string
- func (x *Song) GetAlbumArtist() string
- func (x *Song) GetArtists() []string
- func (x *Song) GetArtistsSort() string
- func (x *Song) GetBeatsPerMinute() uint32
- func (x *Song) GetComment() string
- func (x *Song) GetComposers() string
- func (x *Song) GetConductor() string
- func (x *Song) GetCopyright() string
- func (x *Song) GetCreatedDate() *timestamp.Timestamp
- func (x *Song) GetDateTagged() *timestamp.Timestamp
- func (x *Song) GetDescription() string
- func (x *Song) GetDiskNumber() uint32
- func (x *Song) GetDuration() uint32
- func (x *Song) GetFirstAlbumArtist() string
- func (x *Song) GetFirstAlbumArtistSort() string
- func (x *Song) GetFirstArtist() string
- func (x *Song) GetFirstArtistSort() string
- func (x *Song) GetFirstComposer() string
- func (x *Song) GetFirstComposerSort() string
- func (x *Song) GetGenre() string
- func (x *Song) GetGrouping() string
- func (x *Song) GetHash() string
- func (x *Song) GetId() int64
- func (x *Song) GetInitialKey() string
- func (x *Song) GetIsrc() string
- func (x *Song) GetLyrics() string
- func (x *Song) GetMimeType() string
- func (x *Song) GetModifiedDate() *timestamp.Timestamp
- func (x *Song) GetMusicBrainzArtistId() string
- func (x *Song) GetMusicBrainzDiscId() string
- func (x *Song) GetMusicBrainzReleaseArtistId() string
- func (x *Song) GetMusicBrainzReleaseCountry() string
- func (x *Song) GetMusicBrainzReleaseGroupId() string
- func (x *Song) GetMusicBrainzReleaseId() string
- func (x *Song) GetMusicBrainzReleaseStatus() string
- func (x *Song) GetMusicBrainzReleaseType() string
- func (x *Song) GetMusicBrainzTrackId() string
- func (x *Song) GetMusicIpId() string
- func (x *Song) GetOfDiskNumber() uint32
- func (x *Song) GetOfTrackNumber() uint32
- func (x *Song) GetPath() string
- func (x *Song) GetPlayCount() uint32
- func (x *Song) GetPublisher() string
- func (x *Song) GetRemixedBy() string
- func (x *Song) GetReplayGainAlbumGain() float64
- func (x *Song) GetReplayGainAlbumPeak() float64
- func (x *Song) GetReplayGainTrackGain() float64
- func (x *Song) GetReplayGainTrackPeak() float64
- func (x *Song) GetSkippedCount() uint32
- func (x *Song) GetSubtitle() string
- func (x *Song) GetTitle() string
- func (x *Song) GetTitleSort() string
- func (x *Song) GetTrackNumber() uint32
- func (x *Song) GetYear() uint32
- func (*Song) ProtoMessage()
- func (x *Song) ProtoReflect() protoreflect.Message
- func (x *Song) Reset()
- func (x *Song) String() string
- type UnimplementedFortissimoServer
- func (*UnimplementedFortissimoServer) GetSong(context.Context, *GetSongRequest) (*GetSongResponse, error)
- func (*UnimplementedFortissimoServer) GetSongs(*GetSongsRequest, Fortissimo_GetSongsServer) error
- func (*UnimplementedFortissimoServer) RemoveSong(context.Context, *RemoveSongRequest) (*RemoveSongResponse, error)
Constants ¶
This section is empty.
Variables ¶
var File_fortissimo_proto protoreflect.FileDescriptor
Functions ¶
func RegisterFortissimoServer ¶
func RegisterFortissimoServer(s *grpc.Server, srv FortissimoServer)
Types ¶
type FortissimoClient ¶
type FortissimoClient interface {
GetSong(ctx context.Context, in *GetSongRequest, opts ...grpc.CallOption) (*GetSongResponse, error)
GetSongs(ctx context.Context, in *GetSongsRequest, opts ...grpc.CallOption) (Fortissimo_GetSongsClient, error)
RemoveSong(ctx context.Context, in *RemoveSongRequest, opts ...grpc.CallOption) (*RemoveSongResponse, error)
}
FortissimoClient is the client API for Fortissimo service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewFortissimoClient ¶
func NewFortissimoClient(cc grpc.ClientConnInterface) FortissimoClient
type FortissimoServer ¶
type FortissimoServer interface {
GetSong(context.Context, *GetSongRequest) (*GetSongResponse, error)
GetSongs(*GetSongsRequest, Fortissimo_GetSongsServer) error
RemoveSong(context.Context, *RemoveSongRequest) (*RemoveSongResponse, error)
}
FortissimoServer is the server API for Fortissimo service.
type Fortissimo_GetSongsClient ¶
type Fortissimo_GetSongsClient interface {
Recv() (*GetSongsResponse, error)
grpc.ClientStream
}
type Fortissimo_GetSongsServer ¶
type Fortissimo_GetSongsServer interface {
Send(*GetSongsResponse) error
grpc.ServerStream
}
type GetSongRequest ¶
type GetSongRequest struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
GetSong
func (*GetSongRequest) Descriptor
deprecated
func (*GetSongRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSongRequest.ProtoReflect.Descriptor instead.
func (*GetSongRequest) GetId ¶
func (x *GetSongRequest) GetId() int64
func (*GetSongRequest) ProtoMessage ¶
func (*GetSongRequest) ProtoMessage()
func (*GetSongRequest) ProtoReflect ¶
func (x *GetSongRequest) ProtoReflect() protoreflect.Message
func (*GetSongRequest) Reset ¶
func (x *GetSongRequest) Reset()
func (*GetSongRequest) String ¶
func (x *GetSongRequest) String() string
type GetSongResponse ¶
type GetSongResponse struct {
Song *Song `protobuf:"bytes,1,opt,name=song,proto3" json:"song,omitempty"`
// contains filtered or unexported fields
}
func (*GetSongResponse) Descriptor
deprecated
func (*GetSongResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSongResponse.ProtoReflect.Descriptor instead.
func (*GetSongResponse) GetSong ¶
func (x *GetSongResponse) GetSong() *Song
func (*GetSongResponse) ProtoMessage ¶
func (*GetSongResponse) ProtoMessage()
func (*GetSongResponse) ProtoReflect ¶
func (x *GetSongResponse) ProtoReflect() protoreflect.Message
func (*GetSongResponse) Reset ¶
func (x *GetSongResponse) Reset()
func (*GetSongResponse) String ¶
func (x *GetSongResponse) String() string
type GetSongsRequest ¶
type GetSongsRequest struct {
// contains filtered or unexported fields
}
GetSongs
func (*GetSongsRequest) Descriptor
deprecated
func (*GetSongsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSongsRequest.ProtoReflect.Descriptor instead.
func (*GetSongsRequest) ProtoMessage ¶
func (*GetSongsRequest) ProtoMessage()
func (*GetSongsRequest) ProtoReflect ¶
func (x *GetSongsRequest) ProtoReflect() protoreflect.Message
func (*GetSongsRequest) Reset ¶
func (x *GetSongsRequest) Reset()
func (*GetSongsRequest) String ¶
func (x *GetSongsRequest) String() string
type GetSongsResponse ¶
type GetSongsResponse struct {
Song *Song `protobuf:"bytes,1,opt,name=song,proto3" json:"song,omitempty"`
// contains filtered or unexported fields
}
func (*GetSongsResponse) Descriptor
deprecated
func (*GetSongsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSongsResponse.ProtoReflect.Descriptor instead.
func (*GetSongsResponse) GetSong ¶
func (x *GetSongsResponse) GetSong() *Song
func (*GetSongsResponse) ProtoMessage ¶
func (*GetSongsResponse) ProtoMessage()
func (*GetSongsResponse) ProtoReflect ¶
func (x *GetSongsResponse) ProtoReflect() protoreflect.Message
func (*GetSongsResponse) Reset ¶
func (x *GetSongsResponse) Reset()
func (*GetSongsResponse) String ¶
func (x *GetSongsResponse) String() string
type RemoveSongRequest ¶
type RemoveSongRequest struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
RemoveSong
func (*RemoveSongRequest) Descriptor
deprecated
func (*RemoveSongRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveSongRequest.ProtoReflect.Descriptor instead.
func (*RemoveSongRequest) GetId ¶
func (x *RemoveSongRequest) GetId() int64
func (*RemoveSongRequest) ProtoMessage ¶
func (*RemoveSongRequest) ProtoMessage()
func (*RemoveSongRequest) ProtoReflect ¶
func (x *RemoveSongRequest) ProtoReflect() protoreflect.Message
func (*RemoveSongRequest) Reset ¶
func (x *RemoveSongRequest) Reset()
func (*RemoveSongRequest) String ¶
func (x *RemoveSongRequest) String() string
type RemoveSongResponse ¶
type RemoveSongResponse struct {
// contains filtered or unexported fields
}
func (*RemoveSongResponse) Descriptor
deprecated
func (*RemoveSongResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveSongResponse.ProtoReflect.Descriptor instead.
func (*RemoveSongResponse) ProtoMessage ¶
func (*RemoveSongResponse) ProtoMessage()
func (*RemoveSongResponse) ProtoReflect ¶
func (x *RemoveSongResponse) ProtoReflect() protoreflect.Message
func (*RemoveSongResponse) Reset ¶
func (x *RemoveSongResponse) Reset()
func (*RemoveSongResponse) String ¶
func (x *RemoveSongResponse) String() string
type Song ¶
type Song struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
TitleSort string `protobuf:"bytes,3,opt,name=title_sort,json=titleSort,proto3" json:"title_sort,omitempty"`
Artists []string `protobuf:"bytes,4,rep,name=artists,proto3" json:"artists,omitempty"`
FirstArtist string `protobuf:"bytes,5,opt,name=first_artist,json=firstArtist,proto3" json:"first_artist,omitempty"`
FirstArtistSort string `protobuf:"bytes,6,opt,name=first_artist_sort,json=firstArtistSort,proto3" json:"first_artist_sort,omitempty"`
FirstAlbumArtist string `protobuf:"bytes,7,opt,name=first_album_artist,json=firstAlbumArtist,proto3" json:"first_album_artist,omitempty"`
FirstAlbumArtistSort string `protobuf:"bytes,8,opt,name=first_album_artist_sort,json=firstAlbumArtistSort,proto3" json:"first_album_artist_sort,omitempty"`
AlbumArtist string `protobuf:"bytes,9,opt,name=album_artist,json=albumArtist,proto3" json:"album_artist,omitempty"`
Album string `protobuf:"bytes,10,opt,name=album,proto3" json:"album,omitempty"`
Publisher string `protobuf:"bytes,11,opt,name=publisher,proto3" json:"publisher,omitempty"`
FirstComposer string `protobuf:"bytes,12,opt,name=first_composer,json=firstComposer,proto3" json:"first_composer,omitempty"`
Composers string `protobuf:"bytes,13,opt,name=composers,proto3" json:"composers,omitempty"`
Conductor string `protobuf:"bytes,14,opt,name=conductor,proto3" json:"conductor,omitempty"`
Genre string `protobuf:"bytes,15,opt,name=genre,proto3" json:"genre,omitempty"`
Grouping string `protobuf:"bytes,16,opt,name=grouping,proto3" json:"grouping,omitempty"`
Year uint32 `protobuf:"varint,17,opt,name=year,proto3" json:"year,omitempty"`
TrackNumber uint32 `protobuf:"varint,18,opt,name=track_number,json=trackNumber,proto3" json:"track_number,omitempty"`
OfTrackNumber uint32 `protobuf:"varint,19,opt,name=of_track_number,json=ofTrackNumber,proto3" json:"of_track_number,omitempty"`
DiskNumber uint32 `protobuf:"varint,20,opt,name=disk_number,json=diskNumber,proto3" json:"disk_number,omitempty"`
OfDiskNumber uint32 `protobuf:"varint,21,opt,name=of_disk_number,json=ofDiskNumber,proto3" json:"of_disk_number,omitempty"`
Duration uint32 `protobuf:"varint,22,opt,name=duration,proto3" json:"duration,omitempty"`
PlayCount uint32 `protobuf:"varint,23,opt,name=play_count,json=playCount,proto3" json:"play_count,omitempty"`
SkippedCount uint32 `protobuf:"varint,24,opt,name=skipped_count,json=skippedCount,proto3" json:"skipped_count,omitempty"`
Comment string `protobuf:"bytes,25,opt,name=comment,proto3" json:"comment,omitempty"`
BeatsPerMinute uint32 `protobuf:"varint,26,opt,name=beats_per_minute,json=beatsPerMinute,proto3" json:"beats_per_minute,omitempty"`
Copyright string `protobuf:"bytes,27,opt,name=copyright,proto3" json:"copyright,omitempty"`
DateTagged *timestamp.Timestamp `protobuf:"bytes,28,opt,name=date_tagged,json=dateTagged,proto3" json:"date_tagged,omitempty"`
Description string `protobuf:"bytes,29,opt,name=description,proto3" json:"description,omitempty"`
FirstComposerSort string `protobuf:"bytes,30,opt,name=first_composer_sort,json=firstComposerSort,proto3" json:"first_composer_sort,omitempty"`
ArtistsSort string `protobuf:"bytes,31,opt,name=artists_sort,json=artistsSort,proto3" json:"artists_sort,omitempty"`
Lyrics string `protobuf:"bytes,32,opt,name=lyrics,proto3" json:"lyrics,omitempty"`
InitialKey string `protobuf:"bytes,33,opt,name=initial_key,json=initialKey,proto3" json:"initial_key,omitempty"`
Isrc string `protobuf:"bytes,34,opt,name=isrc,proto3" json:"isrc,omitempty"`
Subtitle string `protobuf:"bytes,35,opt,name=subtitle,proto3" json:"subtitle,omitempty"`
MusicBrainzArtistId string `protobuf:"bytes,36,opt,name=music_brainz_artist_id,json=musicBrainzArtistId,proto3" json:"music_brainz_artist_id,omitempty"`
MusicBrainzDiscId string `protobuf:"bytes,37,opt,name=music_brainz_disc_id,json=musicBrainzDiscId,proto3" json:"music_brainz_disc_id,omitempty"`
MusicBrainzReleaseArtistId string `` /* 146-byte string literal not displayed */
MusicBrainzReleaseCountry string `` /* 141-byte string literal not displayed */
MusicBrainzReleaseGroupId string `` /* 143-byte string literal not displayed */
MusicBrainzReleaseId string `` /* 126-byte string literal not displayed */
MusicBrainzReleaseStatus string `` /* 138-byte string literal not displayed */
MusicBrainzReleaseType string `` /* 132-byte string literal not displayed */
MusicBrainzTrackId string `protobuf:"bytes,44,opt,name=music_brainz_track_id,json=musicBrainzTrackId,proto3" json:"music_brainz_track_id,omitempty"`
MusicIpId string `protobuf:"bytes,45,opt,name=music_ip_id,json=musicIpId,proto3" json:"music_ip_id,omitempty"`
RemixedBy string `protobuf:"bytes,46,opt,name=remixed_by,json=remixedBy,proto3" json:"remixed_by,omitempty"`
ReplayGainAlbumGain float64 `protobuf:"fixed64,47,opt,name=replay_gain_album_gain,json=replayGainAlbumGain,proto3" json:"replay_gain_album_gain,omitempty"`
ReplayGainAlbumPeak float64 `protobuf:"fixed64,48,opt,name=replay_gain_album_peak,json=replayGainAlbumPeak,proto3" json:"replay_gain_album_peak,omitempty"`
ReplayGainTrackGain float64 `protobuf:"fixed64,49,opt,name=replay_gain_track_gain,json=replayGainTrackGain,proto3" json:"replay_gain_track_gain,omitempty"`
ReplayGainTrackPeak float64 `protobuf:"fixed64,50,opt,name=replay_gain_track_peak,json=replayGainTrackPeak,proto3" json:"replay_gain_track_peak,omitempty"`
MimeType string `protobuf:"bytes,51,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
Path string `protobuf:"bytes,52,opt,name=path,proto3" json:"path,omitempty"`
Hash string `protobuf:"bytes,53,opt,name=hash,proto3" json:"hash,omitempty"`
CreatedDate *timestamp.Timestamp `protobuf:"bytes,54,opt,name=created_date,json=createdDate,proto3" json:"created_date,omitempty"`
ModifiedDate *timestamp.Timestamp `protobuf:"bytes,55,opt,name=modified_date,json=modifiedDate,proto3" json:"modified_date,omitempty"`
// contains filtered or unexported fields
}
Data Objects
func (*Song) Descriptor
deprecated
func (*Song) GetAlbumArtist ¶
func (*Song) GetArtists ¶
func (*Song) GetArtistsSort ¶
func (*Song) GetBeatsPerMinute ¶
func (*Song) GetComment ¶
func (*Song) GetComposers ¶
func (*Song) GetConductor ¶
func (*Song) GetCopyright ¶
func (*Song) GetCreatedDate ¶
func (*Song) GetDateTagged ¶
func (*Song) GetDescription ¶
func (*Song) GetDiskNumber ¶
func (*Song) GetDuration ¶
func (*Song) GetFirstAlbumArtist ¶
func (*Song) GetFirstAlbumArtistSort ¶
func (*Song) GetFirstArtist ¶
func (*Song) GetFirstArtistSort ¶
func (*Song) GetFirstComposer ¶
func (*Song) GetFirstComposerSort ¶
func (*Song) GetGrouping ¶
func (*Song) GetInitialKey ¶
func (*Song) GetMimeType ¶
func (*Song) GetModifiedDate ¶
func (*Song) GetMusicBrainzArtistId ¶
func (*Song) GetMusicBrainzDiscId ¶
func (*Song) GetMusicBrainzReleaseArtistId ¶
func (*Song) GetMusicBrainzReleaseCountry ¶
func (*Song) GetMusicBrainzReleaseGroupId ¶
func (*Song) GetMusicBrainzReleaseId ¶
func (*Song) GetMusicBrainzReleaseStatus ¶
func (*Song) GetMusicBrainzReleaseType ¶
func (*Song) GetMusicBrainzTrackId ¶
func (*Song) GetMusicIpId ¶
func (*Song) GetOfDiskNumber ¶
func (*Song) GetOfTrackNumber ¶
func (*Song) GetPlayCount ¶
func (*Song) GetPublisher ¶
func (*Song) GetRemixedBy ¶
func (*Song) GetReplayGainAlbumGain ¶
func (*Song) GetReplayGainAlbumPeak ¶
func (*Song) GetReplayGainTrackGain ¶
func (*Song) GetReplayGainTrackPeak ¶
func (*Song) GetSkippedCount ¶
func (*Song) GetSubtitle ¶
func (*Song) GetTitleSort ¶
func (*Song) GetTrackNumber ¶
func (*Song) ProtoMessage ¶
func (*Song) ProtoMessage()
func (*Song) ProtoReflect ¶
func (x *Song) ProtoReflect() protoreflect.Message
type UnimplementedFortissimoServer ¶
type UnimplementedFortissimoServer struct {
}
UnimplementedFortissimoServer can be embedded to have forward compatible implementations.
func (*UnimplementedFortissimoServer) GetSong ¶
func (*UnimplementedFortissimoServer) GetSong(context.Context, *GetSongRequest) (*GetSongResponse, error)
func (*UnimplementedFortissimoServer) GetSongs ¶
func (*UnimplementedFortissimoServer) GetSongs(*GetSongsRequest, Fortissimo_GetSongsServer) error
func (*UnimplementedFortissimoServer) RemoveSong ¶
func (*UnimplementedFortissimoServer) RemoveSong(context.Context, *RemoveSongRequest) (*RemoveSongResponse, error)