Add GetArtists RPC with artist monitor state (monitored/unmonitored/excluded)

This commit is contained in:
Alexander
2026-05-08 22:27:56 +02:00
parent 60c94935b2
commit e49cc25372
6 changed files with 125 additions and 247 deletions
+4
View File
@@ -29,6 +29,10 @@ func NewMusicAgregatorServer(cfg config.Config, riverClient *river.Client[pgx.Tx
}, nil
}
func (s *MusicAgregatorServer) GetArtists(ctx context.Context, req *pb.GetArtistsRequest) (*pb.GetArtistsResponse, error) {
return s.service.GetArtists(ctx, req)
}
func (s *MusicAgregatorServer) MonitorAlbum(ctx context.Context, req *pb.MonitorAlbumRequest) (*pb.MonitorAlbumResponse, error) {
return s.service.MonitorAlbum(ctx, req)
}