fortissimo

package
v0.0.0-...-4c8068f Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2022 License: GPL-3.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
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

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) Descriptor() ([]byte, []int)

Deprecated: Use Song.ProtoReflect.Descriptor instead.

func (*Song) GetAlbum

func (x *Song) GetAlbum() string

func (*Song) GetAlbumArtist

func (x *Song) GetAlbumArtist() string

func (*Song) GetArtists

func (x *Song) GetArtists() []string

func (*Song) GetArtistsSort

func (x *Song) GetArtistsSort() string

func (*Song) GetBeatsPerMinute

func (x *Song) GetBeatsPerMinute() uint32

func (*Song) GetComment

func (x *Song) GetComment() string

func (*Song) GetComposers

func (x *Song) GetComposers() string

func (*Song) GetConductor

func (x *Song) GetConductor() string

func (*Song) GetCopyright

func (x *Song) GetCopyright() string

func (*Song) GetCreatedDate

func (x *Song) GetCreatedDate() *timestamp.Timestamp

func (*Song) GetDateTagged

func (x *Song) GetDateTagged() *timestamp.Timestamp

func (*Song) GetDescription

func (x *Song) GetDescription() string

func (*Song) GetDiskNumber

func (x *Song) GetDiskNumber() uint32

func (*Song) GetDuration

func (x *Song) GetDuration() uint32

func (*Song) GetFirstAlbumArtist

func (x *Song) GetFirstAlbumArtist() string

func (*Song) GetFirstAlbumArtistSort

func (x *Song) GetFirstAlbumArtistSort() string

func (*Song) GetFirstArtist

func (x *Song) GetFirstArtist() string

func (*Song) GetFirstArtistSort

func (x *Song) GetFirstArtistSort() string

func (*Song) GetFirstComposer

func (x *Song) GetFirstComposer() string

func (*Song) GetFirstComposerSort

func (x *Song) GetFirstComposerSort() string

func (*Song) GetGenre

func (x *Song) GetGenre() string

func (*Song) GetGrouping

func (x *Song) GetGrouping() string

func (*Song) GetHash

func (x *Song) GetHash() string

func (*Song) GetId

func (x *Song) GetId() int64

func (*Song) GetInitialKey

func (x *Song) GetInitialKey() string

func (*Song) GetIsrc

func (x *Song) GetIsrc() string

func (*Song) GetLyrics

func (x *Song) GetLyrics() string

func (*Song) GetMimeType

func (x *Song) GetMimeType() string

func (*Song) GetModifiedDate

func (x *Song) GetModifiedDate() *timestamp.Timestamp

func (*Song) GetMusicBrainzArtistId

func (x *Song) GetMusicBrainzArtistId() string

func (*Song) GetMusicBrainzDiscId

func (x *Song) GetMusicBrainzDiscId() string

func (*Song) GetMusicBrainzReleaseArtistId

func (x *Song) GetMusicBrainzReleaseArtistId() string

func (*Song) GetMusicBrainzReleaseCountry

func (x *Song) GetMusicBrainzReleaseCountry() string

func (*Song) GetMusicBrainzReleaseGroupId

func (x *Song) GetMusicBrainzReleaseGroupId() string

func (*Song) GetMusicBrainzReleaseId

func (x *Song) GetMusicBrainzReleaseId() string

func (*Song) GetMusicBrainzReleaseStatus

func (x *Song) GetMusicBrainzReleaseStatus() string

func (*Song) GetMusicBrainzReleaseType

func (x *Song) GetMusicBrainzReleaseType() string

func (*Song) GetMusicBrainzTrackId

func (x *Song) GetMusicBrainzTrackId() string

func (*Song) GetMusicIpId

func (x *Song) GetMusicIpId() string

func (*Song) GetOfDiskNumber

func (x *Song) GetOfDiskNumber() uint32

func (*Song) GetOfTrackNumber

func (x *Song) GetOfTrackNumber() uint32

func (*Song) GetPath

func (x *Song) GetPath() string

func (*Song) GetPlayCount

func (x *Song) GetPlayCount() uint32

func (*Song) GetPublisher

func (x *Song) GetPublisher() string

func (*Song) GetRemixedBy

func (x *Song) GetRemixedBy() string

func (*Song) GetReplayGainAlbumGain

func (x *Song) GetReplayGainAlbumGain() float64

func (*Song) GetReplayGainAlbumPeak

func (x *Song) GetReplayGainAlbumPeak() float64

func (*Song) GetReplayGainTrackGain

func (x *Song) GetReplayGainTrackGain() float64

func (*Song) GetReplayGainTrackPeak

func (x *Song) GetReplayGainTrackPeak() float64

func (*Song) GetSkippedCount

func (x *Song) GetSkippedCount() uint32

func (*Song) GetSubtitle

func (x *Song) GetSubtitle() string

func (*Song) GetTitle

func (x *Song) GetTitle() string

func (*Song) GetTitleSort

func (x *Song) GetTitleSort() string

func (*Song) GetTrackNumber

func (x *Song) GetTrackNumber() uint32

func (*Song) GetYear

func (x *Song) GetYear() uint32

func (*Song) ProtoMessage

func (*Song) ProtoMessage()

func (*Song) ProtoReflect

func (x *Song) ProtoReflect() protoreflect.Message

func (*Song) Reset

func (x *Song) Reset()

func (*Song) String

func (x *Song) String() string

type UnimplementedFortissimoServer

type UnimplementedFortissimoServer struct {
}

UnimplementedFortissimoServer can be embedded to have forward compatible implementations.

func (*UnimplementedFortissimoServer) GetSong

func (*UnimplementedFortissimoServer) GetSongs

func (*UnimplementedFortissimoServer) RemoveSong

Jump to

Keyboard shortcuts

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