Documentation ¶
Index ¶
- type Server
- func (s *Server) CreateArtist(ctx context.Context, req *api.CreateArtistRequest) (*domain.Artist, error)
- func (s *Server) CreateSong(ctx context.Context, req *api.CreateSongRequest) (*domain.Song, error)
- func (s *Server) DeleteArtist(ctx context.Context, id *wrapperspb.StringValue) (*api.DeleteArtistResponse, error)
- func (s *Server) DeleteSong(ctx context.Context, id *wrapperspb.StringValue) (*api.DeleteSongResponse, error)
- func (s *Server) GetArtist(ctx context.Context, id *wrapperspb.StringValue) (*domain.Artist, error)
- func (s *Server) GetSong(ctx context.Context, id *wrapperspb.StringValue) (*domain.Song, error)
- func (s *Server) ListArtists(ctx context.Context, req *api.ListArtistsRequest) (*api.ListArtistsResponse, error)
- func (s *Server) ListSongs(ctx context.Context, req *api.ListSongsRequest) (*api.ListSongsResponse, error)
- func (s *Server) UpdateArtist(ctx context.Context, req *api.UpdateArtistRequest) (*domain.Artist, error)
- func (s *Server) UpdateSong(ctx context.Context, req *api.UpdateSongRequest) (*domain.Song, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { api.UnimplementedSetMakerServiceServer // contains filtered or unexported fields }
func (*Server) CreateArtist ¶
func (*Server) CreateSong ¶
func (*Server) DeleteArtist ¶
func (s *Server) DeleteArtist(ctx context.Context, id *wrapperspb.StringValue) (*api.DeleteArtistResponse, error)
func (*Server) DeleteSong ¶
func (s *Server) DeleteSong(ctx context.Context, id *wrapperspb.StringValue) (*api.DeleteSongResponse, error)
func (*Server) GetArtist ¶
func (s *Server) GetArtist(ctx context.Context, id *wrapperspb.StringValue) (*domain.Artist, error)
func (*Server) GetSong ¶
func (s *Server) GetSong(ctx context.Context, id *wrapperspb.StringValue) (*domain.Song, error)
func (*Server) ListArtists ¶
func (s *Server) ListArtists(ctx context.Context, req *api.ListArtistsRequest) (*api.ListArtistsResponse, error)
func (*Server) ListSongs ¶
func (s *Server) ListSongs(ctx context.Context, req *api.ListSongsRequest) (*api.ListSongsResponse, error)
func (*Server) UpdateArtist ¶
func (*Server) UpdateSong ¶
Click to show internal directories.
Click to hide internal directories.