Versions in this module Expand all Collapse all v1 v1.0.0 Nov 14, 2022 Changes in this version + var File_api_src_api_api_proto protoreflect.FileDescriptor + var SetMakerService_ServiceDesc = grpc.ServiceDesc + func RegisterSetMakerServiceServer(s grpc.ServiceRegistrar, srv SetMakerServiceServer) + type CreateArtistRequest struct + Image string + Name string + func (*CreateArtistRequest) Descriptor() ([]byte, []int) + func (*CreateArtistRequest) ProtoMessage() + func (x *CreateArtistRequest) GetImage() string + func (x *CreateArtistRequest) GetName() string + func (x *CreateArtistRequest) ProtoReflect() protoreflect.Message + func (x *CreateArtistRequest) Reset() + func (x *CreateArtistRequest) String() string + type CreateSongRequest struct + Artist *domain.Artist + Key domain.Key + Title string + Tonality domain.Tonality + func (*CreateSongRequest) Descriptor() ([]byte, []int) + func (*CreateSongRequest) ProtoMessage() + func (x *CreateSongRequest) GetArtist() *domain.Artist + func (x *CreateSongRequest) GetKey() domain.Key + func (x *CreateSongRequest) GetTitle() string + func (x *CreateSongRequest) GetTonality() domain.Tonality + func (x *CreateSongRequest) ProtoReflect() protoreflect.Message + func (x *CreateSongRequest) Reset() + func (x *CreateSongRequest) String() string + type DeleteArtistResponse struct + Deleted bool + Id string + func (*DeleteArtistResponse) Descriptor() ([]byte, []int) + func (*DeleteArtistResponse) ProtoMessage() + func (x *DeleteArtistResponse) GetDeleted() bool + func (x *DeleteArtistResponse) GetId() string + func (x *DeleteArtistResponse) ProtoReflect() protoreflect.Message + func (x *DeleteArtistResponse) Reset() + func (x *DeleteArtistResponse) String() string + type DeleteSongResponse struct + Deleted bool + Id string + func (*DeleteSongResponse) Descriptor() ([]byte, []int) + func (*DeleteSongResponse) ProtoMessage() + func (x *DeleteSongResponse) GetDeleted() bool + func (x *DeleteSongResponse) GetId() string + func (x *DeleteSongResponse) ProtoReflect() protoreflect.Message + func (x *DeleteSongResponse) Reset() + func (x *DeleteSongResponse) String() string + type ListArtistsRequest struct + Cursor string + Limit int32 + func (*ListArtistsRequest) Descriptor() ([]byte, []int) + func (*ListArtistsRequest) ProtoMessage() + func (x *ListArtistsRequest) GetCursor() string + func (x *ListArtistsRequest) GetLimit() int32 + func (x *ListArtistsRequest) ProtoReflect() protoreflect.Message + func (x *ListArtistsRequest) Reset() + func (x *ListArtistsRequest) String() string + type ListArtistsResponse struct + Results []*domain.Artist + SearchAfter string + func (*ListArtistsResponse) Descriptor() ([]byte, []int) + func (*ListArtistsResponse) ProtoMessage() + func (x *ListArtistsResponse) GetResults() []*domain.Artist + func (x *ListArtistsResponse) GetSearchAfter() string + func (x *ListArtistsResponse) ProtoReflect() protoreflect.Message + func (x *ListArtistsResponse) Reset() + func (x *ListArtistsResponse) String() string + type ListSongsRequest struct + ArtistId string + Cursor string + Limit int32 + func (*ListSongsRequest) Descriptor() ([]byte, []int) + func (*ListSongsRequest) ProtoMessage() + func (x *ListSongsRequest) GetArtistId() string + func (x *ListSongsRequest) GetCursor() string + func (x *ListSongsRequest) GetLimit() int32 + func (x *ListSongsRequest) ProtoReflect() protoreflect.Message + func (x *ListSongsRequest) Reset() + func (x *ListSongsRequest) String() string + type ListSongsResponse struct + Results []*domain.Song + SearchAfter string + func (*ListSongsResponse) Descriptor() ([]byte, []int) + func (*ListSongsResponse) ProtoMessage() + func (x *ListSongsResponse) GetResults() []*domain.Song + func (x *ListSongsResponse) GetSearchAfter() string + func (x *ListSongsResponse) ProtoReflect() protoreflect.Message + func (x *ListSongsResponse) Reset() + func (x *ListSongsResponse) String() string + type SetMakerServiceClient interface + CreateArtist func(ctx context.Context, in *CreateArtistRequest, opts ...grpc.CallOption) (*domain.Artist, error) + CreateSong func(ctx context.Context, in *CreateSongRequest, opts ...grpc.CallOption) (*domain.Song, error) + DeleteArtist func(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*DeleteArtistResponse, error) + DeleteSong func(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*DeleteSongResponse, error) + GetArtist func(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*domain.Artist, error) + GetSong func(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*domain.Song, error) + ListArtists func(ctx context.Context, in *ListArtistsRequest, opts ...grpc.CallOption) (*ListArtistsResponse, error) + ListSongs func(ctx context.Context, in *ListSongsRequest, opts ...grpc.CallOption) (*ListSongsResponse, error) + UpdateArtist func(ctx context.Context, in *UpdateArtistRequest, opts ...grpc.CallOption) (*domain.Artist, error) + UpdateSong func(ctx context.Context, in *UpdateSongRequest, opts ...grpc.CallOption) (*domain.Song, error) + func NewSetMakerServiceClient(cc grpc.ClientConnInterface) SetMakerServiceClient + type SetMakerServiceServer interface + CreateArtist func(context.Context, *CreateArtistRequest) (*domain.Artist, error) + CreateSong func(context.Context, *CreateSongRequest) (*domain.Song, error) + DeleteArtist func(context.Context, *wrapperspb.StringValue) (*DeleteArtistResponse, error) + DeleteSong func(context.Context, *wrapperspb.StringValue) (*DeleteSongResponse, error) + GetArtist func(context.Context, *wrapperspb.StringValue) (*domain.Artist, error) + GetSong func(context.Context, *wrapperspb.StringValue) (*domain.Song, error) + ListArtists func(context.Context, *ListArtistsRequest) (*ListArtistsResponse, error) + ListSongs func(context.Context, *ListSongsRequest) (*ListSongsResponse, error) + UpdateArtist func(context.Context, *UpdateArtistRequest) (*domain.Artist, error) + UpdateSong func(context.Context, *UpdateSongRequest) (*domain.Song, error) + type UnimplementedSetMakerServiceServer struct + func (UnimplementedSetMakerServiceServer) CreateArtist(context.Context, *CreateArtistRequest) (*domain.Artist, error) + func (UnimplementedSetMakerServiceServer) CreateSong(context.Context, *CreateSongRequest) (*domain.Song, error) + func (UnimplementedSetMakerServiceServer) DeleteArtist(context.Context, *wrapperspb.StringValue) (*DeleteArtistResponse, error) + func (UnimplementedSetMakerServiceServer) DeleteSong(context.Context, *wrapperspb.StringValue) (*DeleteSongResponse, error) + func (UnimplementedSetMakerServiceServer) GetArtist(context.Context, *wrapperspb.StringValue) (*domain.Artist, error) + func (UnimplementedSetMakerServiceServer) GetSong(context.Context, *wrapperspb.StringValue) (*domain.Song, error) + func (UnimplementedSetMakerServiceServer) ListArtists(context.Context, *ListArtistsRequest) (*ListArtistsResponse, error) + func (UnimplementedSetMakerServiceServer) ListSongs(context.Context, *ListSongsRequest) (*ListSongsResponse, error) + func (UnimplementedSetMakerServiceServer) UpdateArtist(context.Context, *UpdateArtistRequest) (*domain.Artist, error) + func (UnimplementedSetMakerServiceServer) UpdateSong(context.Context, *UpdateSongRequest) (*domain.Song, error) + type UnsafeSetMakerServiceServer interface + type UpdateArtistRequest struct + Id string + Image string + Name string + func (*UpdateArtistRequest) Descriptor() ([]byte, []int) + func (*UpdateArtistRequest) ProtoMessage() + func (x *UpdateArtistRequest) GetId() string + func (x *UpdateArtistRequest) GetImage() string + func (x *UpdateArtistRequest) GetName() string + func (x *UpdateArtistRequest) ProtoReflect() protoreflect.Message + func (x *UpdateArtistRequest) Reset() + func (x *UpdateArtistRequest) String() string + type UpdateSongRequest struct + Artist *domain.Artist + Id string + Key domain.Key + Title string + Tonality domain.Tonality + func (*UpdateSongRequest) Descriptor() ([]byte, []int) + func (*UpdateSongRequest) ProtoMessage() + func (x *UpdateSongRequest) GetArtist() *domain.Artist + func (x *UpdateSongRequest) GetId() string + func (x *UpdateSongRequest) GetKey() domain.Key + func (x *UpdateSongRequest) GetTitle() string + func (x *UpdateSongRequest) GetTonality() domain.Tonality + func (x *UpdateSongRequest) ProtoReflect() protoreflect.Message + func (x *UpdateSongRequest) Reset() + func (x *UpdateSongRequest) String() string