Documentation ¶
Index ¶
- Variables
- func RegisterMelomanServer(s grpc.ServiceRegistrar, srv MelomanServer)
- type AddAlbumRequest
- func (*AddAlbumRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddAlbumRequest) GetAlbumId() string
- func (x *AddAlbumRequest) GetUserId() string
- func (*AddAlbumRequest) ProtoMessage()
- func (x *AddAlbumRequest) ProtoReflect() protoreflect.Message
- func (x *AddAlbumRequest) Reset()
- func (x *AddAlbumRequest) String() string
- type AuthRequest
- type AuthResponse
- type CreateAlbumRequest
- func (*CreateAlbumRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAlbumRequest) GetAlbum() *CreateAlbumRequest_NewAlbum
- func (x *CreateAlbumRequest) GetId() string
- func (*CreateAlbumRequest) ProtoMessage()
- func (x *CreateAlbumRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAlbumRequest) Reset()
- func (x *CreateAlbumRequest) String() string
- type CreateAlbumRequest_NewAlbum
- func (*CreateAlbumRequest_NewAlbum) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAlbumRequest_NewAlbum) GetFormatId() int32
- func (x *CreateAlbumRequest_NewAlbum) GetImage() string
- func (x *CreateAlbumRequest_NewAlbum) GetLabelId() int32
- func (x *CreateAlbumRequest_NewAlbum) GetTitle() string
- func (x *CreateAlbumRequest_NewAlbum) GetYear() int32
- func (*CreateAlbumRequest_NewAlbum) ProtoMessage()
- func (x *CreateAlbumRequest_NewAlbum) ProtoReflect() protoreflect.Message
- func (x *CreateAlbumRequest_NewAlbum) Reset()
- func (x *CreateAlbumRequest_NewAlbum) String() string
- type CreateAlbumResponse
- func (*CreateAlbumResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAlbumResponse) GetId() string
- func (*CreateAlbumResponse) ProtoMessage()
- func (x *CreateAlbumResponse) ProtoReflect() protoreflect.Message
- func (x *CreateAlbumResponse) Reset()
- func (x *CreateAlbumResponse) String() string
- type CreateArtistRequest
- func (*CreateArtistRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateArtistRequest) GetBiography() string
- func (x *CreateArtistRequest) GetFullName() string
- func (x *CreateArtistRequest) GetImage() string
- func (*CreateArtistRequest) ProtoMessage()
- func (x *CreateArtistRequest) ProtoReflect() protoreflect.Message
- func (x *CreateArtistRequest) Reset()
- func (x *CreateArtistRequest) String() string
- type CreateArtistsResponse
- func (*CreateArtistsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateArtistsResponse) GetId() string
- func (*CreateArtistsResponse) ProtoMessage()
- func (x *CreateArtistsResponse) ProtoReflect() protoreflect.Message
- func (x *CreateArtistsResponse) Reset()
- func (x *CreateArtistsResponse) String() string
- type CreateTrackRequest
- func (*CreateTrackRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTrackRequest) GetId() string
- func (x *CreateTrackRequest) GetTrack() *CreateTrackRequest_Track
- func (*CreateTrackRequest) ProtoMessage()
- func (x *CreateTrackRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTrackRequest) Reset()
- func (x *CreateTrackRequest) String() string
- type CreateTrackRequest_Track
- func (*CreateTrackRequest_Track) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTrackRequest_Track) GetLenght() string
- func (x *CreateTrackRequest_Track) GetNumber() int32
- func (x *CreateTrackRequest_Track) GetTitle() string
- func (*CreateTrackRequest_Track) ProtoMessage()
- func (x *CreateTrackRequest_Track) ProtoReflect() protoreflect.Message
- func (x *CreateTrackRequest_Track) Reset()
- func (x *CreateTrackRequest_Track) String() string
- type CreateTrackResponse
- func (*CreateTrackResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTrackResponse) GetId() string
- func (*CreateTrackResponse) ProtoMessage()
- func (x *CreateTrackResponse) ProtoReflect() protoreflect.Message
- func (x *CreateTrackResponse) Reset()
- func (x *CreateTrackResponse) String() string
- type CreateUserRequest
- func (*CreateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserRequest) GetCredentials() *Credentials
- func (*CreateUserRequest) ProtoMessage()
- func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserRequest) Reset()
- func (x *CreateUserRequest) String() string
- type CreateUserResponse
- type Credentials
- func (*Credentials) Descriptor() ([]byte, []int)deprecated
- func (x *Credentials) GetLogin() string
- func (x *Credentials) GetPassword() string
- func (*Credentials) ProtoMessage()
- func (x *Credentials) ProtoReflect() protoreflect.Message
- func (x *Credentials) Reset()
- func (x *Credentials) String() string
- type Format
- type GetAlbumTracksRequest
- func (*GetAlbumTracksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAlbumTracksRequest) GetId() string
- func (*GetAlbumTracksRequest) ProtoMessage()
- func (x *GetAlbumTracksRequest) ProtoReflect() protoreflect.Message
- func (x *GetAlbumTracksRequest) Reset()
- func (x *GetAlbumTracksRequest) String() string
- type GetAlbumTracksResponse
- func (*GetAlbumTracksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAlbumTracksResponse) GetTracks() []*GetAlbumTracksResponse_Track
- func (*GetAlbumTracksResponse) ProtoMessage()
- func (x *GetAlbumTracksResponse) ProtoReflect() protoreflect.Message
- func (x *GetAlbumTracksResponse) Reset()
- func (x *GetAlbumTracksResponse) String() string
- type GetAlbumTracksResponse_Track
- func (*GetAlbumTracksResponse_Track) Descriptor() ([]byte, []int)deprecated
- func (x *GetAlbumTracksResponse_Track) GetId() string
- func (x *GetAlbumTracksResponse_Track) GetLenght() string
- func (x *GetAlbumTracksResponse_Track) GetNumber() int32
- func (x *GetAlbumTracksResponse_Track) GetTitle() string
- func (*GetAlbumTracksResponse_Track) ProtoMessage()
- func (x *GetAlbumTracksResponse_Track) ProtoReflect() protoreflect.Message
- func (x *GetAlbumTracksResponse_Track) Reset()
- func (x *GetAlbumTracksResponse_Track) String() string
- type GetAlbumsByFilterRequest
- func (*GetAlbumsByFilterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAlbumsByFilterRequest) GetAlbumTitle() string
- func (x *GetAlbumsByFilterRequest) GetArtistName() string
- func (x *GetAlbumsByFilterRequest) GetLimit() uint64
- func (x *GetAlbumsByFilterRequest) GetOffset() uint64
- func (x *GetAlbumsByFilterRequest) GetTrackTitle() string
- func (*GetAlbumsByFilterRequest) ProtoMessage()
- func (x *GetAlbumsByFilterRequest) ProtoReflect() protoreflect.Message
- func (x *GetAlbumsByFilterRequest) Reset()
- func (x *GetAlbumsByFilterRequest) String() string
- type GetAlbumsByFilterResponse
- func (*GetAlbumsByFilterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAlbumsByFilterResponse) GetAlbums() []*GetAlbumsByFilterResponse_Album
- func (*GetAlbumsByFilterResponse) ProtoMessage()
- func (x *GetAlbumsByFilterResponse) ProtoReflect() protoreflect.Message
- func (x *GetAlbumsByFilterResponse) Reset()
- func (x *GetAlbumsByFilterResponse) String() string
- type GetAlbumsByFilterResponse_Album
- func (*GetAlbumsByFilterResponse_Album) Descriptor() ([]byte, []int)deprecated
- func (x *GetAlbumsByFilterResponse_Album) GetArtist() *GetAlbumsByFilterResponse_Album_Artist
- func (x *GetAlbumsByFilterResponse_Album) GetFormat() *Format
- func (x *GetAlbumsByFilterResponse_Album) GetId() string
- func (x *GetAlbumsByFilterResponse_Album) GetImage() string
- func (x *GetAlbumsByFilterResponse_Album) GetLabel() *Label
- func (x *GetAlbumsByFilterResponse_Album) GetTitle() string
- func (x *GetAlbumsByFilterResponse_Album) GetYear() int32
- func (*GetAlbumsByFilterResponse_Album) ProtoMessage()
- func (x *GetAlbumsByFilterResponse_Album) ProtoReflect() protoreflect.Message
- func (x *GetAlbumsByFilterResponse_Album) Reset()
- func (x *GetAlbumsByFilterResponse_Album) String() string
- type GetAlbumsByFilterResponse_Album_Artist
- func (*GetAlbumsByFilterResponse_Album_Artist) Descriptor() ([]byte, []int)deprecated
- func (x *GetAlbumsByFilterResponse_Album_Artist) GetId() string
- func (x *GetAlbumsByFilterResponse_Album_Artist) GetName() string
- func (*GetAlbumsByFilterResponse_Album_Artist) ProtoMessage()
- func (x *GetAlbumsByFilterResponse_Album_Artist) ProtoReflect() protoreflect.Message
- func (x *GetAlbumsByFilterResponse_Album_Artist) Reset()
- func (x *GetAlbumsByFilterResponse_Album_Artist) String() string
- type GetArtistAlbumsRequest
- func (*GetArtistAlbumsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetArtistAlbumsRequest) GetId() string
- func (*GetArtistAlbumsRequest) ProtoMessage()
- func (x *GetArtistAlbumsRequest) ProtoReflect() protoreflect.Message
- func (x *GetArtistAlbumsRequest) Reset()
- func (x *GetArtistAlbumsRequest) String() string
- type GetArtistAlbumsResponse
- func (*GetArtistAlbumsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetArtistAlbumsResponse) GetAlbums() []*GetArtistAlbumsResponse_Album
- func (*GetArtistAlbumsResponse) ProtoMessage()
- func (x *GetArtistAlbumsResponse) ProtoReflect() protoreflect.Message
- func (x *GetArtistAlbumsResponse) Reset()
- func (x *GetArtistAlbumsResponse) String() string
- type GetArtistAlbumsResponse_Album
- func (*GetArtistAlbumsResponse_Album) Descriptor() ([]byte, []int)deprecated
- func (x *GetArtistAlbumsResponse_Album) GetFormat() *Format
- func (x *GetArtistAlbumsResponse_Album) GetId() string
- func (x *GetArtistAlbumsResponse_Album) GetImage() string
- func (x *GetArtistAlbumsResponse_Album) GetLabel() *Label
- func (x *GetArtistAlbumsResponse_Album) GetTitle() string
- func (x *GetArtistAlbumsResponse_Album) GetYear() int32
- func (*GetArtistAlbumsResponse_Album) ProtoMessage()
- func (x *GetArtistAlbumsResponse_Album) ProtoReflect() protoreflect.Message
- func (x *GetArtistAlbumsResponse_Album) Reset()
- func (x *GetArtistAlbumsResponse_Album) String() string
- type GetArtistByIDRequest
- func (*GetArtistByIDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetArtistByIDRequest) GetId() string
- func (*GetArtistByIDRequest) ProtoMessage()
- func (x *GetArtistByIDRequest) ProtoReflect() protoreflect.Message
- func (x *GetArtistByIDRequest) Reset()
- func (x *GetArtistByIDRequest) String() string
- type GetArtistByIDResponse
- func (*GetArtistByIDResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetArtistByIDResponse) GetBiography() string
- func (x *GetArtistByIDResponse) GetFullName() string
- func (x *GetArtistByIDResponse) GetId() string
- func (x *GetArtistByIDResponse) GetImage() string
- func (*GetArtistByIDResponse) ProtoMessage()
- func (x *GetArtistByIDResponse) ProtoReflect() protoreflect.Message
- func (x *GetArtistByIDResponse) Reset()
- func (x *GetArtistByIDResponse) String() string
- type GetArtistsRequest
- func (*GetArtistsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetArtistsRequest) GetLimit() uint32
- func (x *GetArtistsRequest) GetOffset() uint32
- func (*GetArtistsRequest) ProtoMessage()
- func (x *GetArtistsRequest) ProtoReflect() protoreflect.Message
- func (x *GetArtistsRequest) Reset()
- func (x *GetArtistsRequest) String() string
- type GetArtistsResponse
- func (*GetArtistsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetArtistsResponse) GetArtists() []*GetArtistsResponse_Artist
- func (x *GetArtistsResponse) GetTotal() uint32
- func (*GetArtistsResponse) ProtoMessage()
- func (x *GetArtistsResponse) ProtoReflect() protoreflect.Message
- func (x *GetArtistsResponse) Reset()
- func (x *GetArtistsResponse) String() string
- type GetArtistsResponse_Artist
- func (*GetArtistsResponse_Artist) Descriptor() ([]byte, []int)deprecated
- func (x *GetArtistsResponse_Artist) GetFullName() string
- func (x *GetArtistsResponse_Artist) GetId() string
- func (x *GetArtistsResponse_Artist) GetImage() string
- func (*GetArtistsResponse_Artist) ProtoMessage()
- func (x *GetArtistsResponse_Artist) ProtoReflect() protoreflect.Message
- func (x *GetArtistsResponse_Artist) Reset()
- func (x *GetArtistsResponse_Artist) String() string
- type GetFormatsResponse
- func (*GetFormatsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetFormatsResponse) GetFormats() []*Format
- func (*GetFormatsResponse) ProtoMessage()
- func (x *GetFormatsResponse) ProtoReflect() protoreflect.Message
- func (x *GetFormatsResponse) Reset()
- func (x *GetFormatsResponse) String() string
- type GetLabelsResponse
- type GetTopPopularArtistsResponse
- func (*GetTopPopularArtistsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTopPopularArtistsResponse) GetArtists() []*GetTopPopularArtistsResponse_Artist
- func (*GetTopPopularArtistsResponse) ProtoMessage()
- func (x *GetTopPopularArtistsResponse) ProtoReflect() protoreflect.Message
- func (x *GetTopPopularArtistsResponse) Reset()
- func (x *GetTopPopularArtistsResponse) String() string
- type GetTopPopularArtistsResponse_Artist
- func (*GetTopPopularArtistsResponse_Artist) Descriptor() ([]byte, []int)deprecated
- func (x *GetTopPopularArtistsResponse_Artist) GetId() string
- func (x *GetTopPopularArtistsResponse_Artist) GetName() string
- func (*GetTopPopularArtistsResponse_Artist) ProtoMessage()
- func (x *GetTopPopularArtistsResponse_Artist) ProtoReflect() protoreflect.Message
- func (x *GetTopPopularArtistsResponse_Artist) Reset()
- func (x *GetTopPopularArtistsResponse_Artist) String() string
- type GetUserByIDRequest
- type GetUserByIDResponse
- func (*GetUserByIDResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserByIDResponse) GetUser() *User
- func (*GetUserByIDResponse) ProtoMessage()
- func (x *GetUserByIDResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserByIDResponse) Reset()
- func (x *GetUserByIDResponse) String() string
- type GetUserCollectionRequest
- func (*GetUserCollectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserCollectionRequest) GetId() string
- func (*GetUserCollectionRequest) ProtoMessage()
- func (x *GetUserCollectionRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserCollectionRequest) Reset()
- func (x *GetUserCollectionRequest) String() string
- type GetUserCollectionResponse
- func (*GetUserCollectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserCollectionResponse) GetAlbums() []*GetUserCollectionResponse_Album
- func (x *GetUserCollectionResponse) GetArtists() []*GetUserCollectionResponse_Artist
- func (x *GetUserCollectionResponse) GetStatistic() *GetUserCollectionResponse_Statistic
- func (*GetUserCollectionResponse) ProtoMessage()
- func (x *GetUserCollectionResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserCollectionResponse) Reset()
- func (x *GetUserCollectionResponse) String() string
- type GetUserCollectionResponse_Album
- func (*GetUserCollectionResponse_Album) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserCollectionResponse_Album) GetArtist() *GetUserCollectionResponse_Album_Artist
- func (x *GetUserCollectionResponse_Album) GetFormat() *Format
- func (x *GetUserCollectionResponse_Album) GetId() string
- func (x *GetUserCollectionResponse_Album) GetImage() string
- func (x *GetUserCollectionResponse_Album) GetLabel() *Label
- func (x *GetUserCollectionResponse_Album) GetTitle() string
- func (x *GetUserCollectionResponse_Album) GetYear() int32
- func (*GetUserCollectionResponse_Album) ProtoMessage()
- func (x *GetUserCollectionResponse_Album) ProtoReflect() protoreflect.Message
- func (x *GetUserCollectionResponse_Album) Reset()
- func (x *GetUserCollectionResponse_Album) String() string
- type GetUserCollectionResponse_Album_Artist
- func (*GetUserCollectionResponse_Album_Artist) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserCollectionResponse_Album_Artist) GetId() string
- func (x *GetUserCollectionResponse_Album_Artist) GetName() string
- func (*GetUserCollectionResponse_Album_Artist) ProtoMessage()
- func (x *GetUserCollectionResponse_Album_Artist) ProtoReflect() protoreflect.Message
- func (x *GetUserCollectionResponse_Album_Artist) Reset()
- func (x *GetUserCollectionResponse_Album_Artist) String() string
- type GetUserCollectionResponse_Artist
- func (*GetUserCollectionResponse_Artist) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserCollectionResponse_Artist) GetId() string
- func (x *GetUserCollectionResponse_Artist) GetName() string
- func (*GetUserCollectionResponse_Artist) ProtoMessage()
- func (x *GetUserCollectionResponse_Artist) ProtoReflect() protoreflect.Message
- func (x *GetUserCollectionResponse_Artist) Reset()
- func (x *GetUserCollectionResponse_Artist) String() string
- type GetUserCollectionResponse_Statistic
- func (*GetUserCollectionResponse_Statistic) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserCollectionResponse_Statistic) GetAlbumNum() uint32
- func (x *GetUserCollectionResponse_Statistic) GetArtistNum() uint32
- func (x *GetUserCollectionResponse_Statistic) GetFirstAdded() *timestamppb.Timestamp
- func (x *GetUserCollectionResponse_Statistic) GetLastAdded() *timestamppb.Timestamp
- func (x *GetUserCollectionResponse_Statistic) GetTrackNum() uint32
- func (*GetUserCollectionResponse_Statistic) ProtoMessage()
- func (x *GetUserCollectionResponse_Statistic) ProtoReflect() protoreflect.Message
- func (x *GetUserCollectionResponse_Statistic) Reset()
- func (x *GetUserCollectionResponse_Statistic) String() string
- type GetUsersRequest
- func (*GetUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUsersRequest) GetLimit() uint32
- func (x *GetUsersRequest) GetOffset() uint32
- func (*GetUsersRequest) ProtoMessage()
- func (x *GetUsersRequest) ProtoReflect() protoreflect.Message
- func (x *GetUsersRequest) Reset()
- func (x *GetUsersRequest) String() string
- type GetUsersResponse
- func (*GetUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUsersResponse) GetTotal() uint32
- func (x *GetUsersResponse) GetUsers() []*User
- func (*GetUsersResponse) ProtoMessage()
- func (x *GetUsersResponse) ProtoReflect() protoreflect.Message
- func (x *GetUsersResponse) Reset()
- func (x *GetUsersResponse) String() string
- type Label
- type MelomanClient
- type MelomanServer
- type RemoveAlbumRequest
- func (*RemoveAlbumRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveAlbumRequest) GetAlbumId() string
- func (x *RemoveAlbumRequest) GetUserId() string
- func (*RemoveAlbumRequest) ProtoMessage()
- func (x *RemoveAlbumRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveAlbumRequest) Reset()
- func (x *RemoveAlbumRequest) String() string
- type Role
- type UnimplementedMelomanServer
- func (UnimplementedMelomanServer) AddAlbum(context.Context, *AddAlbumRequest) (*emptypb.Empty, error)
- func (UnimplementedMelomanServer) Auth(context.Context, *AuthRequest) (*AuthResponse, error)
- func (UnimplementedMelomanServer) CreateAlbum(context.Context, *CreateAlbumRequest) (*CreateAlbumResponse, error)
- func (UnimplementedMelomanServer) CreateArtist(context.Context, *CreateArtistRequest) (*CreateArtistsResponse, error)
- func (UnimplementedMelomanServer) CreateTrack(context.Context, *CreateTrackRequest) (*CreateTrackResponse, error)
- func (UnimplementedMelomanServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
- func (UnimplementedMelomanServer) GetAlbumTracks(context.Context, *GetAlbumTracksRequest) (*GetAlbumTracksResponse, error)
- func (UnimplementedMelomanServer) GetAlbumsByFilter(context.Context, *GetAlbumsByFilterRequest) (*GetAlbumsByFilterResponse, error)
- func (UnimplementedMelomanServer) GetArtistAlbums(context.Context, *GetArtistAlbumsRequest) (*GetArtistAlbumsResponse, error)
- func (UnimplementedMelomanServer) GetArtistByID(context.Context, *GetArtistByIDRequest) (*GetArtistByIDResponse, error)
- func (UnimplementedMelomanServer) GetArtists(context.Context, *GetArtistsRequest) (*GetArtistsResponse, error)
- func (UnimplementedMelomanServer) GetFormats(context.Context, *emptypb.Empty) (*GetFormatsResponse, error)
- func (UnimplementedMelomanServer) GetLabels(context.Context, *emptypb.Empty) (*GetLabelsResponse, error)
- func (UnimplementedMelomanServer) GetTopPopularArtists(context.Context, *emptypb.Empty) (*GetTopPopularArtistsResponse, error)
- func (UnimplementedMelomanServer) GetUserByID(context.Context, *GetUserByIDRequest) (*GetUserByIDResponse, error)
- func (UnimplementedMelomanServer) GetUserCollection(context.Context, *GetUserCollectionRequest) (*GetUserCollectionResponse, error)
- func (UnimplementedMelomanServer) GetUsers(context.Context, *GetUsersRequest) (*GetUsersResponse, error)
- func (UnimplementedMelomanServer) Ping(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedMelomanServer) RemoveAlbum(context.Context, *RemoveAlbumRequest) (*emptypb.Empty, error)
- func (UnimplementedMelomanServer) UpdateUserRole(context.Context, *UpdateUserRoleRequest) (*emptypb.Empty, error)
- type UnsafeMelomanServer
- type UpdateUserRoleRequest
- func (*UpdateUserRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserRoleRequest) GetId() string
- func (x *UpdateUserRoleRequest) GetRole() *UpdateUserRoleRequest_Value
- func (*UpdateUserRoleRequest) ProtoMessage()
- func (x *UpdateUserRoleRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserRoleRequest) Reset()
- func (x *UpdateUserRoleRequest) String() string
- type UpdateUserRoleRequest_Value
- func (*UpdateUserRoleRequest_Value) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserRoleRequest_Value) GetRole() Role
- func (*UpdateUserRoleRequest_Value) ProtoMessage()
- func (x *UpdateUserRoleRequest_Value) ProtoReflect() protoreflect.Message
- func (x *UpdateUserRoleRequest_Value) Reset()
- func (x *UpdateUserRoleRequest_Value) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetCreatedAt() *timestamppb.Timestamp
- func (x *User) GetId() string
- func (x *User) GetLogin() string
- func (x *User) GetRole() Role
- func (x *User) GetUpdatedAt() *timestamppb.Timestamp
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
Constants ¶
This section is empty.
Variables ¶
var ( Role_name = map[int32]string{ 0: "USER", 1: "ADMIN", } Role_value = map[string]int32{ "USER": 0, "ADMIN": 1, } )
Enum value maps for Role.
var File_meloman_meloman_proto protoreflect.FileDescriptor
var Meloman_ServiceDesc = grpc.ServiceDesc{ ServiceName: "github.moguchev.meloman.Meloman", HandlerType: (*MelomanServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Ping", Handler: _Meloman_Ping_Handler, }, { MethodName: "Auth", Handler: _Meloman_Auth_Handler, }, { MethodName: "CreateUser", Handler: _Meloman_CreateUser_Handler, }, { MethodName: "GetUserByID", Handler: _Meloman_GetUserByID_Handler, }, { MethodName: "GetUsers", Handler: _Meloman_GetUsers_Handler, }, { MethodName: "UpdateUserRole", Handler: _Meloman_UpdateUserRole_Handler, }, { MethodName: "CreateArtist", Handler: _Meloman_CreateArtist_Handler, }, { MethodName: "GetArtists", Handler: _Meloman_GetArtists_Handler, }, { MethodName: "GetArtistByID", Handler: _Meloman_GetArtistByID_Handler, }, { MethodName: "GetArtistAlbums", Handler: _Meloman_GetArtistAlbums_Handler, }, { MethodName: "GetFormats", Handler: _Meloman_GetFormats_Handler, }, { MethodName: "GetLabels", Handler: _Meloman_GetLabels_Handler, }, { MethodName: "CreateAlbum", Handler: _Meloman_CreateAlbum_Handler, }, { MethodName: "CreateTrack", Handler: _Meloman_CreateTrack_Handler, }, { MethodName: "GetAlbumTracks", Handler: _Meloman_GetAlbumTracks_Handler, }, { MethodName: "GetAlbumsByFilter", Handler: _Meloman_GetAlbumsByFilter_Handler, }, { MethodName: "AddAlbum", Handler: _Meloman_AddAlbum_Handler, }, { MethodName: "RemoveAlbum", Handler: _Meloman_RemoveAlbum_Handler, }, { MethodName: "GetUserCollection", Handler: _Meloman_GetUserCollection_Handler, }, { MethodName: "GetTopPopularArtists", Handler: _Meloman_GetTopPopularArtists_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "meloman/meloman.proto", }
Meloman_ServiceDesc is the grpc.ServiceDesc for Meloman service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMelomanServer ¶
func RegisterMelomanServer(s grpc.ServiceRegistrar, srv MelomanServer)
Types ¶
type AddAlbumRequest ¶
type AddAlbumRequest struct { // uuid пользователя UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // uuid альбома AlbumId string `protobuf:"bytes,2,opt,name=album_id,json=albumId,proto3" json:"album_id,omitempty"` // contains filtered or unexported fields }
func (*AddAlbumRequest) Descriptor
deprecated
func (*AddAlbumRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddAlbumRequest.ProtoReflect.Descriptor instead.
func (*AddAlbumRequest) GetAlbumId ¶
func (x *AddAlbumRequest) GetAlbumId() string
func (*AddAlbumRequest) GetUserId ¶
func (x *AddAlbumRequest) GetUserId() string
func (*AddAlbumRequest) ProtoMessage ¶
func (*AddAlbumRequest) ProtoMessage()
func (*AddAlbumRequest) ProtoReflect ¶
func (x *AddAlbumRequest) ProtoReflect() protoreflect.Message
func (*AddAlbumRequest) Reset ¶
func (x *AddAlbumRequest) Reset()
func (*AddAlbumRequest) String ¶
func (x *AddAlbumRequest) String() string
type AuthRequest ¶
type AuthRequest struct { // логин и пароль Credentials *Credentials `protobuf:"bytes,1,opt,name=credentials,proto3" json:"credentials,omitempty"` // contains filtered or unexported fields }
func (*AuthRequest) Descriptor
deprecated
func (*AuthRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthRequest.ProtoReflect.Descriptor instead.
func (*AuthRequest) GetCredentials ¶
func (x *AuthRequest) GetCredentials() *Credentials
func (*AuthRequest) ProtoMessage ¶
func (*AuthRequest) ProtoMessage()
func (*AuthRequest) ProtoReflect ¶
func (x *AuthRequest) ProtoReflect() protoreflect.Message
func (*AuthRequest) Reset ¶
func (x *AuthRequest) Reset()
func (*AuthRequest) String ¶
func (x *AuthRequest) String() string
type AuthResponse ¶
type AuthResponse struct { // id авторизированного пользователя Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*AuthResponse) Descriptor
deprecated
func (*AuthResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthResponse.ProtoReflect.Descriptor instead.
func (*AuthResponse) GetId ¶
func (x *AuthResponse) GetId() string
func (*AuthResponse) ProtoMessage ¶
func (*AuthResponse) ProtoMessage()
func (*AuthResponse) ProtoReflect ¶
func (x *AuthResponse) ProtoReflect() protoreflect.Message
func (*AuthResponse) Reset ¶
func (x *AuthResponse) Reset()
func (*AuthResponse) String ¶
func (x *AuthResponse) String() string
type CreateAlbumRequest ¶
type CreateAlbumRequest struct { // uuid исполнителя Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // данные альбома/сингла Album *CreateAlbumRequest_NewAlbum `protobuf:"bytes,2,opt,name=album,proto3" json:"album,omitempty"` // contains filtered or unexported fields }
func (*CreateAlbumRequest) Descriptor
deprecated
func (*CreateAlbumRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAlbumRequest.ProtoReflect.Descriptor instead.
func (*CreateAlbumRequest) GetAlbum ¶
func (x *CreateAlbumRequest) GetAlbum() *CreateAlbumRequest_NewAlbum
func (*CreateAlbumRequest) GetId ¶
func (x *CreateAlbumRequest) GetId() string
func (*CreateAlbumRequest) ProtoMessage ¶
func (*CreateAlbumRequest) ProtoMessage()
func (*CreateAlbumRequest) ProtoReflect ¶
func (x *CreateAlbumRequest) ProtoReflect() protoreflect.Message
func (*CreateAlbumRequest) Reset ¶
func (x *CreateAlbumRequest) Reset()
func (*CreateAlbumRequest) String ¶
func (x *CreateAlbumRequest) String() string
type CreateAlbumRequest_NewAlbum ¶
type CreateAlbumRequest_NewAlbum struct { // название Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // год издания Year int32 `protobuf:"varint,2,opt,name=year,proto3" json:"year,omitempty"` // обложка (base64 encoded image) Image *string `protobuf:"bytes,3,opt,name=image,proto3,oneof" json:"image,omitempty"` // id формата FormatId int32 `protobuf:"varint,4,opt,name=format_id,json=formatId,proto3" json:"format_id,omitempty"` // id издателя LabelId int32 `protobuf:"varint,5,opt,name=label_id,json=labelId,proto3" json:"label_id,omitempty"` // contains filtered or unexported fields }
func (*CreateAlbumRequest_NewAlbum) Descriptor
deprecated
func (*CreateAlbumRequest_NewAlbum) Descriptor() ([]byte, []int)
Deprecated: Use CreateAlbumRequest_NewAlbum.ProtoReflect.Descriptor instead.
func (*CreateAlbumRequest_NewAlbum) GetFormatId ¶
func (x *CreateAlbumRequest_NewAlbum) GetFormatId() int32
func (*CreateAlbumRequest_NewAlbum) GetImage ¶
func (x *CreateAlbumRequest_NewAlbum) GetImage() string
func (*CreateAlbumRequest_NewAlbum) GetLabelId ¶
func (x *CreateAlbumRequest_NewAlbum) GetLabelId() int32
func (*CreateAlbumRequest_NewAlbum) GetTitle ¶
func (x *CreateAlbumRequest_NewAlbum) GetTitle() string
func (*CreateAlbumRequest_NewAlbum) GetYear ¶
func (x *CreateAlbumRequest_NewAlbum) GetYear() int32
func (*CreateAlbumRequest_NewAlbum) ProtoMessage ¶
func (*CreateAlbumRequest_NewAlbum) ProtoMessage()
func (*CreateAlbumRequest_NewAlbum) ProtoReflect ¶
func (x *CreateAlbumRequest_NewAlbum) ProtoReflect() protoreflect.Message
func (*CreateAlbumRequest_NewAlbum) Reset ¶
func (x *CreateAlbumRequest_NewAlbum) Reset()
func (*CreateAlbumRequest_NewAlbum) String ¶
func (x *CreateAlbumRequest_NewAlbum) String() string
type CreateAlbumResponse ¶
type CreateAlbumResponse struct { // uuid созданного альбома Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateAlbumResponse) Descriptor
deprecated
func (*CreateAlbumResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateAlbumResponse.ProtoReflect.Descriptor instead.
func (*CreateAlbumResponse) GetId ¶
func (x *CreateAlbumResponse) GetId() string
func (*CreateAlbumResponse) ProtoMessage ¶
func (*CreateAlbumResponse) ProtoMessage()
func (*CreateAlbumResponse) ProtoReflect ¶
func (x *CreateAlbumResponse) ProtoReflect() protoreflect.Message
func (*CreateAlbumResponse) Reset ¶
func (x *CreateAlbumResponse) Reset()
func (*CreateAlbumResponse) String ¶
func (x *CreateAlbumResponse) String() string
type CreateArtistRequest ¶
type CreateArtistRequest struct { // имя исполнителя/группы FullName string `protobuf:"bytes,1,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` // биография Biography *string `protobuf:"bytes,2,opt,name=biography,proto3,oneof" json:"biography,omitempty"` // base64 encoded image Image *string `protobuf:"bytes,3,opt,name=image,proto3,oneof" json:"image,omitempty"` // contains filtered or unexported fields }
func (*CreateArtistRequest) Descriptor
deprecated
func (*CreateArtistRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateArtistRequest.ProtoReflect.Descriptor instead.
func (*CreateArtistRequest) GetBiography ¶
func (x *CreateArtistRequest) GetBiography() string
func (*CreateArtistRequest) GetFullName ¶
func (x *CreateArtistRequest) GetFullName() string
func (*CreateArtistRequest) GetImage ¶
func (x *CreateArtistRequest) GetImage() string
func (*CreateArtistRequest) ProtoMessage ¶
func (*CreateArtistRequest) ProtoMessage()
func (*CreateArtistRequest) ProtoReflect ¶
func (x *CreateArtistRequest) ProtoReflect() protoreflect.Message
func (*CreateArtistRequest) Reset ¶
func (x *CreateArtistRequest) Reset()
func (*CreateArtistRequest) String ¶
func (x *CreateArtistRequest) String() string
type CreateArtistsResponse ¶
type CreateArtistsResponse struct { // uuid созданного исполнителя/группы Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateArtistsResponse) Descriptor
deprecated
func (*CreateArtistsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateArtistsResponse.ProtoReflect.Descriptor instead.
func (*CreateArtistsResponse) GetId ¶
func (x *CreateArtistsResponse) GetId() string
func (*CreateArtistsResponse) ProtoMessage ¶
func (*CreateArtistsResponse) ProtoMessage()
func (*CreateArtistsResponse) ProtoReflect ¶
func (x *CreateArtistsResponse) ProtoReflect() protoreflect.Message
func (*CreateArtistsResponse) Reset ¶
func (x *CreateArtistsResponse) Reset()
func (*CreateArtistsResponse) String ¶
func (x *CreateArtistsResponse) String() string
type CreateTrackRequest ¶
type CreateTrackRequest struct { // uuid альбома Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Track *CreateTrackRequest_Track `protobuf:"bytes,2,opt,name=track,proto3" json:"track,omitempty"` // contains filtered or unexported fields }
func (*CreateTrackRequest) Descriptor
deprecated
func (*CreateTrackRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTrackRequest.ProtoReflect.Descriptor instead.
func (*CreateTrackRequest) GetId ¶
func (x *CreateTrackRequest) GetId() string
func (*CreateTrackRequest) GetTrack ¶
func (x *CreateTrackRequest) GetTrack() *CreateTrackRequest_Track
func (*CreateTrackRequest) ProtoMessage ¶
func (*CreateTrackRequest) ProtoMessage()
func (*CreateTrackRequest) ProtoReflect ¶
func (x *CreateTrackRequest) ProtoReflect() protoreflect.Message
func (*CreateTrackRequest) Reset ¶
func (x *CreateTrackRequest) Reset()
func (*CreateTrackRequest) String ¶
func (x *CreateTrackRequest) String() string
type CreateTrackRequest_Track ¶
type CreateTrackRequest_Track struct { // назавние композиции Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // номер композиции в альбоме Number int32 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` // длительность, формат: ЧЧ:ММ:СС Lenght string `protobuf:"bytes,3,opt,name=lenght,proto3" json:"lenght,omitempty"` // contains filtered or unexported fields }
func (*CreateTrackRequest_Track) Descriptor
deprecated
func (*CreateTrackRequest_Track) Descriptor() ([]byte, []int)
Deprecated: Use CreateTrackRequest_Track.ProtoReflect.Descriptor instead.
func (*CreateTrackRequest_Track) GetLenght ¶
func (x *CreateTrackRequest_Track) GetLenght() string
func (*CreateTrackRequest_Track) GetNumber ¶
func (x *CreateTrackRequest_Track) GetNumber() int32
func (*CreateTrackRequest_Track) GetTitle ¶
func (x *CreateTrackRequest_Track) GetTitle() string
func (*CreateTrackRequest_Track) ProtoMessage ¶
func (*CreateTrackRequest_Track) ProtoMessage()
func (*CreateTrackRequest_Track) ProtoReflect ¶
func (x *CreateTrackRequest_Track) ProtoReflect() protoreflect.Message
func (*CreateTrackRequest_Track) Reset ¶
func (x *CreateTrackRequest_Track) Reset()
func (*CreateTrackRequest_Track) String ¶
func (x *CreateTrackRequest_Track) String() string
type CreateTrackResponse ¶
type CreateTrackResponse struct { // uuid созданного трека Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateTrackResponse) Descriptor
deprecated
func (*CreateTrackResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateTrackResponse.ProtoReflect.Descriptor instead.
func (*CreateTrackResponse) GetId ¶
func (x *CreateTrackResponse) GetId() string
func (*CreateTrackResponse) ProtoMessage ¶
func (*CreateTrackResponse) ProtoMessage()
func (*CreateTrackResponse) ProtoReflect ¶
func (x *CreateTrackResponse) ProtoReflect() protoreflect.Message
func (*CreateTrackResponse) Reset ¶
func (x *CreateTrackResponse) Reset()
func (*CreateTrackResponse) String ¶
func (x *CreateTrackResponse) String() string
type CreateUserRequest ¶
type CreateUserRequest struct { // логин и пароль Credentials *Credentials `protobuf:"bytes,1,opt,name=credentials,proto3" json:"credentials,omitempty"` // contains filtered or unexported fields }
func (*CreateUserRequest) Descriptor
deprecated
func (*CreateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
func (*CreateUserRequest) GetCredentials ¶
func (x *CreateUserRequest) GetCredentials() *Credentials
func (*CreateUserRequest) ProtoMessage ¶
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) ProtoReflect ¶
func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
func (*CreateUserRequest) Reset ¶
func (x *CreateUserRequest) Reset()
func (*CreateUserRequest) String ¶
func (x *CreateUserRequest) String() string
type CreateUserResponse ¶
type CreateUserResponse struct { // id созданного пользователя Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateUserResponse) Descriptor
deprecated
func (*CreateUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.
func (*CreateUserResponse) GetId ¶
func (x *CreateUserResponse) GetId() string
func (*CreateUserResponse) ProtoMessage ¶
func (*CreateUserResponse) ProtoMessage()
func (*CreateUserResponse) ProtoReflect ¶
func (x *CreateUserResponse) ProtoReflect() protoreflect.Message
func (*CreateUserResponse) Reset ¶
func (x *CreateUserResponse) Reset()
func (*CreateUserResponse) String ¶
func (x *CreateUserResponse) String() string
type Credentials ¶
type Credentials struct { // логин Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"` // пароль Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*Credentials) Descriptor
deprecated
func (*Credentials) Descriptor() ([]byte, []int)
Deprecated: Use Credentials.ProtoReflect.Descriptor instead.
func (*Credentials) GetLogin ¶
func (x *Credentials) GetLogin() string
func (*Credentials) GetPassword ¶
func (x *Credentials) GetPassword() string
func (*Credentials) ProtoMessage ¶
func (*Credentials) ProtoMessage()
func (*Credentials) ProtoReflect ¶
func (x *Credentials) ProtoReflect() protoreflect.Message
func (*Credentials) Reset ¶
func (x *Credentials) Reset()
func (*Credentials) String ¶
func (x *Credentials) String() string
type Format ¶
type Format struct { // id формата Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // наименование Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Format) Descriptor
deprecated
func (*Format) ProtoMessage ¶
func (*Format) ProtoMessage()
func (*Format) ProtoReflect ¶
func (x *Format) ProtoReflect() protoreflect.Message
type GetAlbumTracksRequest ¶
type GetAlbumTracksRequest struct { // uuid альбома Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetAlbumTracksRequest) Descriptor
deprecated
func (*GetAlbumTracksRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAlbumTracksRequest.ProtoReflect.Descriptor instead.
func (*GetAlbumTracksRequest) GetId ¶
func (x *GetAlbumTracksRequest) GetId() string
func (*GetAlbumTracksRequest) ProtoMessage ¶
func (*GetAlbumTracksRequest) ProtoMessage()
func (*GetAlbumTracksRequest) ProtoReflect ¶
func (x *GetAlbumTracksRequest) ProtoReflect() protoreflect.Message
func (*GetAlbumTracksRequest) Reset ¶
func (x *GetAlbumTracksRequest) Reset()
func (*GetAlbumTracksRequest) String ¶
func (x *GetAlbumTracksRequest) String() string
type GetAlbumTracksResponse ¶
type GetAlbumTracksResponse struct { // копозиции альбома отсортированные по номеру в альбоме Tracks []*GetAlbumTracksResponse_Track `protobuf:"bytes,1,rep,name=tracks,proto3" json:"tracks,omitempty"` // contains filtered or unexported fields }
func (*GetAlbumTracksResponse) Descriptor
deprecated
func (*GetAlbumTracksResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAlbumTracksResponse.ProtoReflect.Descriptor instead.
func (*GetAlbumTracksResponse) GetTracks ¶
func (x *GetAlbumTracksResponse) GetTracks() []*GetAlbumTracksResponse_Track
func (*GetAlbumTracksResponse) ProtoMessage ¶
func (*GetAlbumTracksResponse) ProtoMessage()
func (*GetAlbumTracksResponse) ProtoReflect ¶
func (x *GetAlbumTracksResponse) ProtoReflect() protoreflect.Message
func (*GetAlbumTracksResponse) Reset ¶
func (x *GetAlbumTracksResponse) Reset()
func (*GetAlbumTracksResponse) String ¶
func (x *GetAlbumTracksResponse) String() string
type GetAlbumTracksResponse_Track ¶
type GetAlbumTracksResponse_Track struct { // uuid композиции Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // назавние композиции Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // номер композиции в альбоме Number int32 `protobuf:"varint,3,opt,name=number,proto3" json:"number,omitempty"` // длительность, формат: ЧЧ:ММ:СС Lenght string `protobuf:"bytes,4,opt,name=lenght,proto3" json:"lenght,omitempty"` // contains filtered or unexported fields }
func (*GetAlbumTracksResponse_Track) Descriptor
deprecated
func (*GetAlbumTracksResponse_Track) Descriptor() ([]byte, []int)
Deprecated: Use GetAlbumTracksResponse_Track.ProtoReflect.Descriptor instead.
func (*GetAlbumTracksResponse_Track) GetId ¶
func (x *GetAlbumTracksResponse_Track) GetId() string
func (*GetAlbumTracksResponse_Track) GetLenght ¶
func (x *GetAlbumTracksResponse_Track) GetLenght() string
func (*GetAlbumTracksResponse_Track) GetNumber ¶
func (x *GetAlbumTracksResponse_Track) GetNumber() int32
func (*GetAlbumTracksResponse_Track) GetTitle ¶
func (x *GetAlbumTracksResponse_Track) GetTitle() string
func (*GetAlbumTracksResponse_Track) ProtoMessage ¶
func (*GetAlbumTracksResponse_Track) ProtoMessage()
func (*GetAlbumTracksResponse_Track) ProtoReflect ¶
func (x *GetAlbumTracksResponse_Track) ProtoReflect() protoreflect.Message
func (*GetAlbumTracksResponse_Track) Reset ¶
func (x *GetAlbumTracksResponse_Track) Reset()
func (*GetAlbumTracksResponse_Track) String ¶
func (x *GetAlbumTracksResponse_Track) String() string
type GetAlbumsByFilterRequest ¶
type GetAlbumsByFilterRequest struct { // название альбома AlbumTitle *string `protobuf:"bytes,1,opt,name=album_title,json=albumTitle,proto3,oneof" json:"album_title,omitempty"` // имя артиста ArtistName *string `protobuf:"bytes,2,opt,name=artist_name,json=artistName,proto3,oneof" json:"artist_name,omitempty"` // название композиции TrackTitle *string `protobuf:"bytes,3,opt,name=track_title,json=trackTitle,proto3,oneof" json:"track_title,omitempty"` // Limit *uint64 `protobuf:"varint,4,opt,name=limit,proto3,oneof" json:"limit,omitempty"` // Offset *uint64 `protobuf:"varint,5,opt,name=offset,proto3,oneof" json:"offset,omitempty"` // contains filtered or unexported fields }
func (*GetAlbumsByFilterRequest) Descriptor
deprecated
func (*GetAlbumsByFilterRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAlbumsByFilterRequest.ProtoReflect.Descriptor instead.
func (*GetAlbumsByFilterRequest) GetAlbumTitle ¶
func (x *GetAlbumsByFilterRequest) GetAlbumTitle() string
func (*GetAlbumsByFilterRequest) GetArtistName ¶
func (x *GetAlbumsByFilterRequest) GetArtistName() string
func (*GetAlbumsByFilterRequest) GetLimit ¶
func (x *GetAlbumsByFilterRequest) GetLimit() uint64
func (*GetAlbumsByFilterRequest) GetOffset ¶
func (x *GetAlbumsByFilterRequest) GetOffset() uint64
func (*GetAlbumsByFilterRequest) GetTrackTitle ¶
func (x *GetAlbumsByFilterRequest) GetTrackTitle() string
func (*GetAlbumsByFilterRequest) ProtoMessage ¶
func (*GetAlbumsByFilterRequest) ProtoMessage()
func (*GetAlbumsByFilterRequest) ProtoReflect ¶
func (x *GetAlbumsByFilterRequest) ProtoReflect() protoreflect.Message
func (*GetAlbumsByFilterRequest) Reset ¶
func (x *GetAlbumsByFilterRequest) Reset()
func (*GetAlbumsByFilterRequest) String ¶
func (x *GetAlbumsByFilterRequest) String() string
type GetAlbumsByFilterResponse ¶
type GetAlbumsByFilterResponse struct { // список альбомов Albums []*GetAlbumsByFilterResponse_Album `protobuf:"bytes,1,rep,name=albums,proto3" json:"albums,omitempty"` // contains filtered or unexported fields }
func (*GetAlbumsByFilterResponse) Descriptor
deprecated
func (*GetAlbumsByFilterResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAlbumsByFilterResponse.ProtoReflect.Descriptor instead.
func (*GetAlbumsByFilterResponse) GetAlbums ¶
func (x *GetAlbumsByFilterResponse) GetAlbums() []*GetAlbumsByFilterResponse_Album
func (*GetAlbumsByFilterResponse) ProtoMessage ¶
func (*GetAlbumsByFilterResponse) ProtoMessage()
func (*GetAlbumsByFilterResponse) ProtoReflect ¶
func (x *GetAlbumsByFilterResponse) ProtoReflect() protoreflect.Message
func (*GetAlbumsByFilterResponse) Reset ¶
func (x *GetAlbumsByFilterResponse) Reset()
func (*GetAlbumsByFilterResponse) String ¶
func (x *GetAlbumsByFilterResponse) String() string
type GetAlbumsByFilterResponse_Album ¶
type GetAlbumsByFilterResponse_Album struct { // id альбома Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // название Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // год издания Year int32 `protobuf:"varint,3,opt,name=year,proto3" json:"year,omitempty"` // обложка (base64 encoded image) Image string `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"` // формат Format *Format `protobuf:"bytes,5,opt,name=format,proto3" json:"format,omitempty"` // издатель Label *Label `protobuf:"bytes,6,opt,name=label,proto3" json:"label,omitempty"` // исполнитель Artist *GetAlbumsByFilterResponse_Album_Artist `protobuf:"bytes,7,opt,name=artist,proto3" json:"artist,omitempty"` // contains filtered or unexported fields }
func (*GetAlbumsByFilterResponse_Album) Descriptor
deprecated
func (*GetAlbumsByFilterResponse_Album) Descriptor() ([]byte, []int)
Deprecated: Use GetAlbumsByFilterResponse_Album.ProtoReflect.Descriptor instead.
func (*GetAlbumsByFilterResponse_Album) GetArtist ¶
func (x *GetAlbumsByFilterResponse_Album) GetArtist() *GetAlbumsByFilterResponse_Album_Artist
func (*GetAlbumsByFilterResponse_Album) GetFormat ¶
func (x *GetAlbumsByFilterResponse_Album) GetFormat() *Format
func (*GetAlbumsByFilterResponse_Album) GetId ¶
func (x *GetAlbumsByFilterResponse_Album) GetId() string
func (*GetAlbumsByFilterResponse_Album) GetImage ¶
func (x *GetAlbumsByFilterResponse_Album) GetImage() string
func (*GetAlbumsByFilterResponse_Album) GetLabel ¶
func (x *GetAlbumsByFilterResponse_Album) GetLabel() *Label
func (*GetAlbumsByFilterResponse_Album) GetTitle ¶
func (x *GetAlbumsByFilterResponse_Album) GetTitle() string
func (*GetAlbumsByFilterResponse_Album) GetYear ¶
func (x *GetAlbumsByFilterResponse_Album) GetYear() int32
func (*GetAlbumsByFilterResponse_Album) ProtoMessage ¶
func (*GetAlbumsByFilterResponse_Album) ProtoMessage()
func (*GetAlbumsByFilterResponse_Album) ProtoReflect ¶
func (x *GetAlbumsByFilterResponse_Album) ProtoReflect() protoreflect.Message
func (*GetAlbumsByFilterResponse_Album) Reset ¶
func (x *GetAlbumsByFilterResponse_Album) Reset()
func (*GetAlbumsByFilterResponse_Album) String ¶
func (x *GetAlbumsByFilterResponse_Album) String() string
type GetAlbumsByFilterResponse_Album_Artist ¶
type GetAlbumsByFilterResponse_Album_Artist struct { // uuid исполнителя Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // название исполнителя Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetAlbumsByFilterResponse_Album_Artist) Descriptor
deprecated
func (*GetAlbumsByFilterResponse_Album_Artist) Descriptor() ([]byte, []int)
Deprecated: Use GetAlbumsByFilterResponse_Album_Artist.ProtoReflect.Descriptor instead.
func (*GetAlbumsByFilterResponse_Album_Artist) GetId ¶
func (x *GetAlbumsByFilterResponse_Album_Artist) GetId() string
func (*GetAlbumsByFilterResponse_Album_Artist) GetName ¶
func (x *GetAlbumsByFilterResponse_Album_Artist) GetName() string
func (*GetAlbumsByFilterResponse_Album_Artist) ProtoMessage ¶
func (*GetAlbumsByFilterResponse_Album_Artist) ProtoMessage()
func (*GetAlbumsByFilterResponse_Album_Artist) ProtoReflect ¶
func (x *GetAlbumsByFilterResponse_Album_Artist) ProtoReflect() protoreflect.Message
func (*GetAlbumsByFilterResponse_Album_Artist) Reset ¶
func (x *GetAlbumsByFilterResponse_Album_Artist) Reset()
func (*GetAlbumsByFilterResponse_Album_Artist) String ¶
func (x *GetAlbumsByFilterResponse_Album_Artist) String() string
type GetArtistAlbumsRequest ¶
type GetArtistAlbumsRequest struct { // uuid исполнителя Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetArtistAlbumsRequest) Descriptor
deprecated
func (*GetArtistAlbumsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetArtistAlbumsRequest.ProtoReflect.Descriptor instead.
func (*GetArtistAlbumsRequest) GetId ¶
func (x *GetArtistAlbumsRequest) GetId() string
func (*GetArtistAlbumsRequest) ProtoMessage ¶
func (*GetArtistAlbumsRequest) ProtoMessage()
func (*GetArtistAlbumsRequest) ProtoReflect ¶
func (x *GetArtistAlbumsRequest) ProtoReflect() protoreflect.Message
func (*GetArtistAlbumsRequest) Reset ¶
func (x *GetArtistAlbumsRequest) Reset()
func (*GetArtistAlbumsRequest) String ¶
func (x *GetArtistAlbumsRequest) String() string
type GetArtistAlbumsResponse ¶
type GetArtistAlbumsResponse struct { // список альбомов отсортированный по году издания Albums []*GetArtistAlbumsResponse_Album `protobuf:"bytes,1,rep,name=albums,proto3" json:"albums,omitempty"` // contains filtered or unexported fields }
func (*GetArtistAlbumsResponse) Descriptor
deprecated
func (*GetArtistAlbumsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetArtistAlbumsResponse.ProtoReflect.Descriptor instead.
func (*GetArtistAlbumsResponse) GetAlbums ¶
func (x *GetArtistAlbumsResponse) GetAlbums() []*GetArtistAlbumsResponse_Album
func (*GetArtistAlbumsResponse) ProtoMessage ¶
func (*GetArtistAlbumsResponse) ProtoMessage()
func (*GetArtistAlbumsResponse) ProtoReflect ¶
func (x *GetArtistAlbumsResponse) ProtoReflect() protoreflect.Message
func (*GetArtistAlbumsResponse) Reset ¶
func (x *GetArtistAlbumsResponse) Reset()
func (*GetArtistAlbumsResponse) String ¶
func (x *GetArtistAlbumsResponse) String() string
type GetArtistAlbumsResponse_Album ¶
type GetArtistAlbumsResponse_Album struct { // id альбома Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // название Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // год издания Year int32 `protobuf:"varint,3,opt,name=year,proto3" json:"year,omitempty"` // обложка (base64 encoded image) Image string `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"` // формат Format *Format `protobuf:"bytes,5,opt,name=format,proto3" json:"format,omitempty"` // издатель Label *Label `protobuf:"bytes,6,opt,name=label,proto3" json:"label,omitempty"` // contains filtered or unexported fields }
func (*GetArtistAlbumsResponse_Album) Descriptor
deprecated
func (*GetArtistAlbumsResponse_Album) Descriptor() ([]byte, []int)
Deprecated: Use GetArtistAlbumsResponse_Album.ProtoReflect.Descriptor instead.
func (*GetArtistAlbumsResponse_Album) GetFormat ¶
func (x *GetArtistAlbumsResponse_Album) GetFormat() *Format
func (*GetArtistAlbumsResponse_Album) GetId ¶
func (x *GetArtistAlbumsResponse_Album) GetId() string
func (*GetArtistAlbumsResponse_Album) GetImage ¶
func (x *GetArtistAlbumsResponse_Album) GetImage() string
func (*GetArtistAlbumsResponse_Album) GetLabel ¶
func (x *GetArtistAlbumsResponse_Album) GetLabel() *Label
func (*GetArtistAlbumsResponse_Album) GetTitle ¶
func (x *GetArtistAlbumsResponse_Album) GetTitle() string
func (*GetArtistAlbumsResponse_Album) GetYear ¶
func (x *GetArtistAlbumsResponse_Album) GetYear() int32
func (*GetArtistAlbumsResponse_Album) ProtoMessage ¶
func (*GetArtistAlbumsResponse_Album) ProtoMessage()
func (*GetArtistAlbumsResponse_Album) ProtoReflect ¶
func (x *GetArtistAlbumsResponse_Album) ProtoReflect() protoreflect.Message
func (*GetArtistAlbumsResponse_Album) Reset ¶
func (x *GetArtistAlbumsResponse_Album) Reset()
func (*GetArtistAlbumsResponse_Album) String ¶
func (x *GetArtistAlbumsResponse_Album) String() string
type GetArtistByIDRequest ¶
type GetArtistByIDRequest struct { // uuid исполнителя Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetArtistByIDRequest) Descriptor
deprecated
func (*GetArtistByIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetArtistByIDRequest.ProtoReflect.Descriptor instead.
func (*GetArtistByIDRequest) GetId ¶
func (x *GetArtistByIDRequest) GetId() string
func (*GetArtistByIDRequest) ProtoMessage ¶
func (*GetArtistByIDRequest) ProtoMessage()
func (*GetArtistByIDRequest) ProtoReflect ¶
func (x *GetArtistByIDRequest) ProtoReflect() protoreflect.Message
func (*GetArtistByIDRequest) Reset ¶
func (x *GetArtistByIDRequest) Reset()
func (*GetArtistByIDRequest) String ¶
func (x *GetArtistByIDRequest) String() string
type GetArtistByIDResponse ¶
type GetArtistByIDResponse struct { // uuid исполнителя Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // наименование FullName string `protobuf:"bytes,2,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` // информация Biography string `protobuf:"bytes,3,opt,name=biography,proto3" json:"biography,omitempty"` // base64 encoded image Image string `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"` // contains filtered or unexported fields }
func (*GetArtistByIDResponse) Descriptor
deprecated
func (*GetArtistByIDResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetArtistByIDResponse.ProtoReflect.Descriptor instead.
func (*GetArtistByIDResponse) GetBiography ¶
func (x *GetArtistByIDResponse) GetBiography() string
func (*GetArtistByIDResponse) GetFullName ¶
func (x *GetArtistByIDResponse) GetFullName() string
func (*GetArtistByIDResponse) GetId ¶
func (x *GetArtistByIDResponse) GetId() string
func (*GetArtistByIDResponse) GetImage ¶
func (x *GetArtistByIDResponse) GetImage() string
func (*GetArtistByIDResponse) ProtoMessage ¶
func (*GetArtistByIDResponse) ProtoMessage()
func (*GetArtistByIDResponse) ProtoReflect ¶
func (x *GetArtistByIDResponse) ProtoReflect() protoreflect.Message
func (*GetArtistByIDResponse) Reset ¶
func (x *GetArtistByIDResponse) Reset()
func (*GetArtistByIDResponse) String ¶
func (x *GetArtistByIDResponse) String() string
type GetArtistsRequest ¶
type GetArtistsRequest struct { // число в одном ответе, по уполномочию 100 Limit *uint32 `protobuf:"varint,1,opt,name=limit,proto3,oneof" json:"limit,omitempty"` // сдвиг в списке Offset *uint32 `protobuf:"varint,2,opt,name=offset,proto3,oneof" json:"offset,omitempty"` // contains filtered or unexported fields }
func (*GetArtistsRequest) Descriptor
deprecated
func (*GetArtistsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetArtistsRequest.ProtoReflect.Descriptor instead.
func (*GetArtistsRequest) GetLimit ¶
func (x *GetArtistsRequest) GetLimit() uint32
func (*GetArtistsRequest) GetOffset ¶
func (x *GetArtistsRequest) GetOffset() uint32
func (*GetArtistsRequest) ProtoMessage ¶
func (*GetArtistsRequest) ProtoMessage()
func (*GetArtistsRequest) ProtoReflect ¶
func (x *GetArtistsRequest) ProtoReflect() protoreflect.Message
func (*GetArtistsRequest) Reset ¶
func (x *GetArtistsRequest) Reset()
func (*GetArtistsRequest) String ¶
func (x *GetArtistsRequest) String() string
type GetArtistsResponse ¶
type GetArtistsResponse struct { Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Artists []*GetArtistsResponse_Artist `protobuf:"bytes,2,rep,name=artists,proto3" json:"artists,omitempty"` // contains filtered or unexported fields }
func (*GetArtistsResponse) Descriptor
deprecated
func (*GetArtistsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetArtistsResponse.ProtoReflect.Descriptor instead.
func (*GetArtistsResponse) GetArtists ¶
func (x *GetArtistsResponse) GetArtists() []*GetArtistsResponse_Artist
func (*GetArtistsResponse) GetTotal ¶
func (x *GetArtistsResponse) GetTotal() uint32
func (*GetArtistsResponse) ProtoMessage ¶
func (*GetArtistsResponse) ProtoMessage()
func (*GetArtistsResponse) ProtoReflect ¶
func (x *GetArtistsResponse) ProtoReflect() protoreflect.Message
func (*GetArtistsResponse) Reset ¶
func (x *GetArtistsResponse) Reset()
func (*GetArtistsResponse) String ¶
func (x *GetArtistsResponse) String() string
type GetArtistsResponse_Artist ¶
type GetArtistsResponse_Artist struct { // uuid исполнителя Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // наименование FullName string `protobuf:"bytes,2,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` // base64 encoded image Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"` // contains filtered or unexported fields }
func (*GetArtistsResponse_Artist) Descriptor
deprecated
func (*GetArtistsResponse_Artist) Descriptor() ([]byte, []int)
Deprecated: Use GetArtistsResponse_Artist.ProtoReflect.Descriptor instead.
func (*GetArtistsResponse_Artist) GetFullName ¶
func (x *GetArtistsResponse_Artist) GetFullName() string
func (*GetArtistsResponse_Artist) GetId ¶
func (x *GetArtistsResponse_Artist) GetId() string
func (*GetArtistsResponse_Artist) GetImage ¶
func (x *GetArtistsResponse_Artist) GetImage() string
func (*GetArtistsResponse_Artist) ProtoMessage ¶
func (*GetArtistsResponse_Artist) ProtoMessage()
func (*GetArtistsResponse_Artist) ProtoReflect ¶
func (x *GetArtistsResponse_Artist) ProtoReflect() protoreflect.Message
func (*GetArtistsResponse_Artist) Reset ¶
func (x *GetArtistsResponse_Artist) Reset()
func (*GetArtistsResponse_Artist) String ¶
func (x *GetArtistsResponse_Artist) String() string
type GetFormatsResponse ¶
type GetFormatsResponse struct { Formats []*Format `protobuf:"bytes,1,rep,name=formats,proto3" json:"formats,omitempty"` // contains filtered or unexported fields }
func (*GetFormatsResponse) Descriptor
deprecated
func (*GetFormatsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetFormatsResponse.ProtoReflect.Descriptor instead.
func (*GetFormatsResponse) GetFormats ¶
func (x *GetFormatsResponse) GetFormats() []*Format
func (*GetFormatsResponse) ProtoMessage ¶
func (*GetFormatsResponse) ProtoMessage()
func (*GetFormatsResponse) ProtoReflect ¶
func (x *GetFormatsResponse) ProtoReflect() protoreflect.Message
func (*GetFormatsResponse) Reset ¶
func (x *GetFormatsResponse) Reset()
func (*GetFormatsResponse) String ¶
func (x *GetFormatsResponse) String() string
type GetLabelsResponse ¶
type GetLabelsResponse struct { Labels []*Label `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"` // contains filtered or unexported fields }
func (*GetLabelsResponse) Descriptor
deprecated
func (*GetLabelsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLabelsResponse.ProtoReflect.Descriptor instead.
func (*GetLabelsResponse) GetLabels ¶
func (x *GetLabelsResponse) GetLabels() []*Label
func (*GetLabelsResponse) ProtoMessage ¶
func (*GetLabelsResponse) ProtoMessage()
func (*GetLabelsResponse) ProtoReflect ¶
func (x *GetLabelsResponse) ProtoReflect() protoreflect.Message
func (*GetLabelsResponse) Reset ¶
func (x *GetLabelsResponse) Reset()
func (*GetLabelsResponse) String ¶
func (x *GetLabelsResponse) String() string
type GetTopPopularArtistsResponse ¶
type GetTopPopularArtistsResponse struct { // исполнители Artists []*GetTopPopularArtistsResponse_Artist `protobuf:"bytes,1,rep,name=artists,proto3" json:"artists,omitempty"` // contains filtered or unexported fields }
func (*GetTopPopularArtistsResponse) Descriptor
deprecated
func (*GetTopPopularArtistsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTopPopularArtistsResponse.ProtoReflect.Descriptor instead.
func (*GetTopPopularArtistsResponse) GetArtists ¶
func (x *GetTopPopularArtistsResponse) GetArtists() []*GetTopPopularArtistsResponse_Artist
func (*GetTopPopularArtistsResponse) ProtoMessage ¶
func (*GetTopPopularArtistsResponse) ProtoMessage()
func (*GetTopPopularArtistsResponse) ProtoReflect ¶
func (x *GetTopPopularArtistsResponse) ProtoReflect() protoreflect.Message
func (*GetTopPopularArtistsResponse) Reset ¶
func (x *GetTopPopularArtistsResponse) Reset()
func (*GetTopPopularArtistsResponse) String ¶
func (x *GetTopPopularArtistsResponse) String() string
type GetTopPopularArtistsResponse_Artist ¶
type GetTopPopularArtistsResponse_Artist struct { // uuid исполнителя Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // название исполнителя Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetTopPopularArtistsResponse_Artist) Descriptor
deprecated
func (*GetTopPopularArtistsResponse_Artist) Descriptor() ([]byte, []int)
Deprecated: Use GetTopPopularArtistsResponse_Artist.ProtoReflect.Descriptor instead.
func (*GetTopPopularArtistsResponse_Artist) GetId ¶
func (x *GetTopPopularArtistsResponse_Artist) GetId() string
func (*GetTopPopularArtistsResponse_Artist) GetName ¶
func (x *GetTopPopularArtistsResponse_Artist) GetName() string
func (*GetTopPopularArtistsResponse_Artist) ProtoMessage ¶
func (*GetTopPopularArtistsResponse_Artist) ProtoMessage()
func (*GetTopPopularArtistsResponse_Artist) ProtoReflect ¶
func (x *GetTopPopularArtistsResponse_Artist) ProtoReflect() protoreflect.Message
func (*GetTopPopularArtistsResponse_Artist) Reset ¶
func (x *GetTopPopularArtistsResponse_Artist) Reset()
func (*GetTopPopularArtistsResponse_Artist) String ¶
func (x *GetTopPopularArtistsResponse_Artist) String() string
type GetUserByIDRequest ¶
type GetUserByIDRequest struct { // id пользователя Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetUserByIDRequest) Descriptor
deprecated
func (*GetUserByIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserByIDRequest.ProtoReflect.Descriptor instead.
func (*GetUserByIDRequest) GetId ¶
func (x *GetUserByIDRequest) GetId() string
func (*GetUserByIDRequest) ProtoMessage ¶
func (*GetUserByIDRequest) ProtoMessage()
func (*GetUserByIDRequest) ProtoReflect ¶
func (x *GetUserByIDRequest) ProtoReflect() protoreflect.Message
func (*GetUserByIDRequest) Reset ¶
func (x *GetUserByIDRequest) Reset()
func (*GetUserByIDRequest) String ¶
func (x *GetUserByIDRequest) String() string
type GetUserByIDResponse ¶
type GetUserByIDResponse struct { // пользователь User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetUserByIDResponse) Descriptor
deprecated
func (*GetUserByIDResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserByIDResponse.ProtoReflect.Descriptor instead.
func (*GetUserByIDResponse) GetUser ¶
func (x *GetUserByIDResponse) GetUser() *User
func (*GetUserByIDResponse) ProtoMessage ¶
func (*GetUserByIDResponse) ProtoMessage()
func (*GetUserByIDResponse) ProtoReflect ¶
func (x *GetUserByIDResponse) ProtoReflect() protoreflect.Message
func (*GetUserByIDResponse) Reset ¶
func (x *GetUserByIDResponse) Reset()
func (*GetUserByIDResponse) String ¶
func (x *GetUserByIDResponse) String() string
type GetUserCollectionRequest ¶
type GetUserCollectionRequest struct { // uuid пользователя Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetUserCollectionRequest) Descriptor
deprecated
func (*GetUserCollectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserCollectionRequest.ProtoReflect.Descriptor instead.
func (*GetUserCollectionRequest) GetId ¶
func (x *GetUserCollectionRequest) GetId() string
func (*GetUserCollectionRequest) ProtoMessage ¶
func (*GetUserCollectionRequest) ProtoMessage()
func (*GetUserCollectionRequest) ProtoReflect ¶
func (x *GetUserCollectionRequest) ProtoReflect() protoreflect.Message
func (*GetUserCollectionRequest) Reset ¶
func (x *GetUserCollectionRequest) Reset()
func (*GetUserCollectionRequest) String ¶
func (x *GetUserCollectionRequest) String() string
type GetUserCollectionResponse ¶
type GetUserCollectionResponse struct { // статистика по коллекции Statistic *GetUserCollectionResponse_Statistic `protobuf:"bytes,1,opt,name=statistic,proto3" json:"statistic,omitempty"` // исполнители Artists []*GetUserCollectionResponse_Artist `protobuf:"bytes,2,rep,name=artists,proto3" json:"artists,omitempty"` // список альбомов Albums []*GetUserCollectionResponse_Album `protobuf:"bytes,3,rep,name=albums,proto3" json:"albums,omitempty"` // contains filtered or unexported fields }
func (*GetUserCollectionResponse) Descriptor
deprecated
func (*GetUserCollectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserCollectionResponse.ProtoReflect.Descriptor instead.
func (*GetUserCollectionResponse) GetAlbums ¶
func (x *GetUserCollectionResponse) GetAlbums() []*GetUserCollectionResponse_Album
func (*GetUserCollectionResponse) GetArtists ¶
func (x *GetUserCollectionResponse) GetArtists() []*GetUserCollectionResponse_Artist
func (*GetUserCollectionResponse) GetStatistic ¶
func (x *GetUserCollectionResponse) GetStatistic() *GetUserCollectionResponse_Statistic
func (*GetUserCollectionResponse) ProtoMessage ¶
func (*GetUserCollectionResponse) ProtoMessage()
func (*GetUserCollectionResponse) ProtoReflect ¶
func (x *GetUserCollectionResponse) ProtoReflect() protoreflect.Message
func (*GetUserCollectionResponse) Reset ¶
func (x *GetUserCollectionResponse) Reset()
func (*GetUserCollectionResponse) String ¶
func (x *GetUserCollectionResponse) String() string
type GetUserCollectionResponse_Album ¶
type GetUserCollectionResponse_Album struct { // id альбома Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // название Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // год издания Year int32 `protobuf:"varint,3,opt,name=year,proto3" json:"year,omitempty"` // обложка (base64 encoded image) Image string `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"` // формат Format *Format `protobuf:"bytes,5,opt,name=format,proto3" json:"format,omitempty"` // издатель Label *Label `protobuf:"bytes,6,opt,name=label,proto3" json:"label,omitempty"` // исполнитель Artist *GetUserCollectionResponse_Album_Artist `protobuf:"bytes,7,opt,name=artist,proto3" json:"artist,omitempty"` // contains filtered or unexported fields }
func (*GetUserCollectionResponse_Album) Descriptor
deprecated
func (*GetUserCollectionResponse_Album) Descriptor() ([]byte, []int)
Deprecated: Use GetUserCollectionResponse_Album.ProtoReflect.Descriptor instead.
func (*GetUserCollectionResponse_Album) GetArtist ¶
func (x *GetUserCollectionResponse_Album) GetArtist() *GetUserCollectionResponse_Album_Artist
func (*GetUserCollectionResponse_Album) GetFormat ¶
func (x *GetUserCollectionResponse_Album) GetFormat() *Format
func (*GetUserCollectionResponse_Album) GetId ¶
func (x *GetUserCollectionResponse_Album) GetId() string
func (*GetUserCollectionResponse_Album) GetImage ¶
func (x *GetUserCollectionResponse_Album) GetImage() string
func (*GetUserCollectionResponse_Album) GetLabel ¶
func (x *GetUserCollectionResponse_Album) GetLabel() *Label
func (*GetUserCollectionResponse_Album) GetTitle ¶
func (x *GetUserCollectionResponse_Album) GetTitle() string
func (*GetUserCollectionResponse_Album) GetYear ¶
func (x *GetUserCollectionResponse_Album) GetYear() int32
func (*GetUserCollectionResponse_Album) ProtoMessage ¶
func (*GetUserCollectionResponse_Album) ProtoMessage()
func (*GetUserCollectionResponse_Album) ProtoReflect ¶
func (x *GetUserCollectionResponse_Album) ProtoReflect() protoreflect.Message
func (*GetUserCollectionResponse_Album) Reset ¶
func (x *GetUserCollectionResponse_Album) Reset()
func (*GetUserCollectionResponse_Album) String ¶
func (x *GetUserCollectionResponse_Album) String() string
type GetUserCollectionResponse_Album_Artist ¶
type GetUserCollectionResponse_Album_Artist struct { // uuid исполнителя Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // название исполнителя Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetUserCollectionResponse_Album_Artist) Descriptor
deprecated
func (*GetUserCollectionResponse_Album_Artist) Descriptor() ([]byte, []int)
Deprecated: Use GetUserCollectionResponse_Album_Artist.ProtoReflect.Descriptor instead.
func (*GetUserCollectionResponse_Album_Artist) GetId ¶
func (x *GetUserCollectionResponse_Album_Artist) GetId() string
func (*GetUserCollectionResponse_Album_Artist) GetName ¶
func (x *GetUserCollectionResponse_Album_Artist) GetName() string
func (*GetUserCollectionResponse_Album_Artist) ProtoMessage ¶
func (*GetUserCollectionResponse_Album_Artist) ProtoMessage()
func (*GetUserCollectionResponse_Album_Artist) ProtoReflect ¶
func (x *GetUserCollectionResponse_Album_Artist) ProtoReflect() protoreflect.Message
func (*GetUserCollectionResponse_Album_Artist) Reset ¶
func (x *GetUserCollectionResponse_Album_Artist) Reset()
func (*GetUserCollectionResponse_Album_Artist) String ¶
func (x *GetUserCollectionResponse_Album_Artist) String() string
type GetUserCollectionResponse_Artist ¶
type GetUserCollectionResponse_Artist struct { // uuid исполнителя Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // название исполнителя Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetUserCollectionResponse_Artist) Descriptor
deprecated
func (*GetUserCollectionResponse_Artist) Descriptor() ([]byte, []int)
Deprecated: Use GetUserCollectionResponse_Artist.ProtoReflect.Descriptor instead.
func (*GetUserCollectionResponse_Artist) GetId ¶
func (x *GetUserCollectionResponse_Artist) GetId() string
func (*GetUserCollectionResponse_Artist) GetName ¶
func (x *GetUserCollectionResponse_Artist) GetName() string
func (*GetUserCollectionResponse_Artist) ProtoMessage ¶
func (*GetUserCollectionResponse_Artist) ProtoMessage()
func (*GetUserCollectionResponse_Artist) ProtoReflect ¶
func (x *GetUserCollectionResponse_Artist) ProtoReflect() protoreflect.Message
func (*GetUserCollectionResponse_Artist) Reset ¶
func (x *GetUserCollectionResponse_Artist) Reset()
func (*GetUserCollectionResponse_Artist) String ¶
func (x *GetUserCollectionResponse_Artist) String() string
type GetUserCollectionResponse_Statistic ¶
type GetUserCollectionResponse_Statistic struct { // число альбомов в коллекции AlbumNum uint32 `protobuf:"varint,1,opt,name=album_num,json=albumNum,proto3" json:"album_num,omitempty"` // число композиций в коллекции TrackNum uint32 `protobuf:"varint,2,opt,name=track_num,json=trackNum,proto3" json:"track_num,omitempty"` // число исполнителей в коллекции ArtistNum uint32 `protobuf:"varint,3,opt,name=artist_num,json=artistNum,proto3" json:"artist_num,omitempty"` // время добавление первого альбома в коллекцию FirstAdded *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=first_added,json=firstAdded,proto3" json:"first_added,omitempty"` // время добавление последнего альбома в коллекцию LastAdded *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_added,json=lastAdded,proto3" json:"last_added,omitempty"` // contains filtered or unexported fields }
func (*GetUserCollectionResponse_Statistic) Descriptor
deprecated
func (*GetUserCollectionResponse_Statistic) Descriptor() ([]byte, []int)
Deprecated: Use GetUserCollectionResponse_Statistic.ProtoReflect.Descriptor instead.
func (*GetUserCollectionResponse_Statistic) GetAlbumNum ¶
func (x *GetUserCollectionResponse_Statistic) GetAlbumNum() uint32
func (*GetUserCollectionResponse_Statistic) GetArtistNum ¶
func (x *GetUserCollectionResponse_Statistic) GetArtistNum() uint32
func (*GetUserCollectionResponse_Statistic) GetFirstAdded ¶
func (x *GetUserCollectionResponse_Statistic) GetFirstAdded() *timestamppb.Timestamp
func (*GetUserCollectionResponse_Statistic) GetLastAdded ¶
func (x *GetUserCollectionResponse_Statistic) GetLastAdded() *timestamppb.Timestamp
func (*GetUserCollectionResponse_Statistic) GetTrackNum ¶
func (x *GetUserCollectionResponse_Statistic) GetTrackNum() uint32
func (*GetUserCollectionResponse_Statistic) ProtoMessage ¶
func (*GetUserCollectionResponse_Statistic) ProtoMessage()
func (*GetUserCollectionResponse_Statistic) ProtoReflect ¶
func (x *GetUserCollectionResponse_Statistic) ProtoReflect() protoreflect.Message
func (*GetUserCollectionResponse_Statistic) Reset ¶
func (x *GetUserCollectionResponse_Statistic) Reset()
func (*GetUserCollectionResponse_Statistic) String ¶
func (x *GetUserCollectionResponse_Statistic) String() string
type GetUsersRequest ¶
type GetUsersRequest struct { // число пользователей в одном ответе, по уполномочию 100 Limit *uint32 `protobuf:"varint,1,opt,name=limit,proto3,oneof" json:"limit,omitempty"` // сдвиг в списке пользователй Offset *uint32 `protobuf:"varint,2,opt,name=offset,proto3,oneof" json:"offset,omitempty"` // contains filtered or unexported fields }
func (*GetUsersRequest) Descriptor
deprecated
func (*GetUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUsersRequest.ProtoReflect.Descriptor instead.
func (*GetUsersRequest) GetLimit ¶
func (x *GetUsersRequest) GetLimit() uint32
func (*GetUsersRequest) GetOffset ¶
func (x *GetUsersRequest) GetOffset() uint32
func (*GetUsersRequest) ProtoMessage ¶
func (*GetUsersRequest) ProtoMessage()
func (*GetUsersRequest) ProtoReflect ¶
func (x *GetUsersRequest) ProtoReflect() protoreflect.Message
func (*GetUsersRequest) Reset ¶
func (x *GetUsersRequest) Reset()
func (*GetUsersRequest) String ¶
func (x *GetUsersRequest) String() string
type GetUsersResponse ¶
type GetUsersResponse struct { // всего пользователей Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` // текущий ответ Users []*User `protobuf:"bytes,2,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*GetUsersResponse) Descriptor
deprecated
func (*GetUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUsersResponse.ProtoReflect.Descriptor instead.
func (*GetUsersResponse) GetTotal ¶
func (x *GetUsersResponse) GetTotal() uint32
func (*GetUsersResponse) GetUsers ¶
func (x *GetUsersResponse) GetUsers() []*User
func (*GetUsersResponse) ProtoMessage ¶
func (*GetUsersResponse) ProtoMessage()
func (*GetUsersResponse) ProtoReflect ¶
func (x *GetUsersResponse) ProtoReflect() protoreflect.Message
func (*GetUsersResponse) Reset ¶
func (x *GetUsersResponse) Reset()
func (*GetUsersResponse) String ¶
func (x *GetUsersResponse) String() string
type Label ¶
type Label struct { // id издателя Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // наименование Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Label) Descriptor
deprecated
func (*Label) ProtoMessage ¶
func (*Label) ProtoMessage()
func (*Label) ProtoReflect ¶
func (x *Label) ProtoReflect() protoreflect.Message
type MelomanClient ¶
type MelomanClient interface { // проверка работоспособности сервиса // // access: * Ping(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) // авторизация // // access: * Auth(ctx context.Context, in *AuthRequest, opts ...grpc.CallOption) (*AuthResponse, error) // создание пользователя/регистрация // // access: * CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error) // получение пользователя по id // // access: user, admin GetUserByID(ctx context.Context, in *GetUserByIDRequest, opts ...grpc.CallOption) (*GetUserByIDResponse, error) // получение всех пользователей // // access: user, admin GetUsers(ctx context.Context, in *GetUsersRequest, opts ...grpc.CallOption) (*GetUsersResponse, error) // изменение роли пользователя // // access: admin UpdateUserRole(ctx context.Context, in *UpdateUserRoleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // создание исполнителя // // access: admin CreateArtist(ctx context.Context, in *CreateArtistRequest, opts ...grpc.CallOption) (*CreateArtistsResponse, error) // получить список всех исполнитей // // access: user, admin GetArtists(ctx context.Context, in *GetArtistsRequest, opts ...grpc.CallOption) (*GetArtistsResponse, error) // получение исполнителя по id // // access: user, admin GetArtistByID(ctx context.Context, in *GetArtistByIDRequest, opts ...grpc.CallOption) (*GetArtistByIDResponse, error) // получение списка альбомов исполнителя // // access: user, admin GetArtistAlbums(ctx context.Context, in *GetArtistAlbumsRequest, opts ...grpc.CallOption) (*GetArtistAlbumsResponse, error) // получить список всех форматов // // access: user, admin GetFormats(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetFormatsResponse, error) // получить список всех издателей // // access: user, admin GetLabels(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetLabelsResponse, error) // создание альбома // // access: admin CreateAlbum(ctx context.Context, in *CreateAlbumRequest, opts ...grpc.CallOption) (*CreateAlbumResponse, error) // создание/добавление композиции в альбом // // access: admin CreateTrack(ctx context.Context, in *CreateTrackRequest, opts ...grpc.CallOption) (*CreateTrackResponse, error) // получение композиций альбома // // access: user, admin GetAlbumTracks(ctx context.Context, in *GetAlbumTracksRequest, opts ...grpc.CallOption) (*GetAlbumTracksResponse, error) // поиск альбома по фильтру // // access: user, admin GetAlbumsByFilter(ctx context.Context, in *GetAlbumsByFilterRequest, opts ...grpc.CallOption) (*GetAlbumsByFilterResponse, error) // добавление альбома в коллекцию пользователя // // access: owner AddAlbum(ctx context.Context, in *AddAlbumRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // удаление альбома из коллекции пользователя // // access: owner RemoveAlbum(ctx context.Context, in *RemoveAlbumRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // получить коллекцию пользователя // // access: user, admin GetUserCollection(ctx context.Context, in *GetUserCollectionRequest, opts ...grpc.CallOption) (*GetUserCollectionResponse, error) // получить топ популярных исполнителей // // access: user, admin GetTopPopularArtists(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetTopPopularArtistsResponse, error) }
MelomanClient is the client API for Meloman service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMelomanClient ¶
func NewMelomanClient(cc grpc.ClientConnInterface) MelomanClient
type MelomanServer ¶
type MelomanServer interface { // проверка работоспособности сервиса // // access: * Ping(context.Context, *emptypb.Empty) (*emptypb.Empty, error) // авторизация // // access: * Auth(context.Context, *AuthRequest) (*AuthResponse, error) // создание пользователя/регистрация // // access: * CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error) // получение пользователя по id // // access: user, admin GetUserByID(context.Context, *GetUserByIDRequest) (*GetUserByIDResponse, error) // получение всех пользователей // // access: user, admin GetUsers(context.Context, *GetUsersRequest) (*GetUsersResponse, error) // изменение роли пользователя // // access: admin UpdateUserRole(context.Context, *UpdateUserRoleRequest) (*emptypb.Empty, error) // создание исполнителя // // access: admin CreateArtist(context.Context, *CreateArtistRequest) (*CreateArtistsResponse, error) // получить список всех исполнитей // // access: user, admin GetArtists(context.Context, *GetArtistsRequest) (*GetArtistsResponse, error) // получение исполнителя по id // // access: user, admin GetArtistByID(context.Context, *GetArtistByIDRequest) (*GetArtistByIDResponse, error) // получение списка альбомов исполнителя // // access: user, admin GetArtistAlbums(context.Context, *GetArtistAlbumsRequest) (*GetArtistAlbumsResponse, error) // получить список всех форматов // // access: user, admin GetFormats(context.Context, *emptypb.Empty) (*GetFormatsResponse, error) // получить список всех издателей // // access: user, admin GetLabels(context.Context, *emptypb.Empty) (*GetLabelsResponse, error) // создание альбома // // access: admin CreateAlbum(context.Context, *CreateAlbumRequest) (*CreateAlbumResponse, error) // создание/добавление композиции в альбом // // access: admin CreateTrack(context.Context, *CreateTrackRequest) (*CreateTrackResponse, error) // получение композиций альбома // // access: user, admin GetAlbumTracks(context.Context, *GetAlbumTracksRequest) (*GetAlbumTracksResponse, error) // поиск альбома по фильтру // // access: user, admin GetAlbumsByFilter(context.Context, *GetAlbumsByFilterRequest) (*GetAlbumsByFilterResponse, error) // добавление альбома в коллекцию пользователя // // access: owner AddAlbum(context.Context, *AddAlbumRequest) (*emptypb.Empty, error) // удаление альбома из коллекции пользователя // // access: owner RemoveAlbum(context.Context, *RemoveAlbumRequest) (*emptypb.Empty, error) // получить коллекцию пользователя // // access: user, admin GetUserCollection(context.Context, *GetUserCollectionRequest) (*GetUserCollectionResponse, error) // получить топ популярных исполнителей // // access: user, admin GetTopPopularArtists(context.Context, *emptypb.Empty) (*GetTopPopularArtistsResponse, error) // contains filtered or unexported methods }
MelomanServer is the server API for Meloman service. All implementations must embed UnimplementedMelomanServer for forward compatibility
type RemoveAlbumRequest ¶
type RemoveAlbumRequest struct { // uuid пользователя UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // uuid альбома AlbumId string `protobuf:"bytes,2,opt,name=album_id,json=albumId,proto3" json:"album_id,omitempty"` // contains filtered or unexported fields }
func (*RemoveAlbumRequest) Descriptor
deprecated
func (*RemoveAlbumRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveAlbumRequest.ProtoReflect.Descriptor instead.
func (*RemoveAlbumRequest) GetAlbumId ¶
func (x *RemoveAlbumRequest) GetAlbumId() string
func (*RemoveAlbumRequest) GetUserId ¶
func (x *RemoveAlbumRequest) GetUserId() string
func (*RemoveAlbumRequest) ProtoMessage ¶
func (*RemoveAlbumRequest) ProtoMessage()
func (*RemoveAlbumRequest) ProtoReflect ¶
func (x *RemoveAlbumRequest) ProtoReflect() protoreflect.Message
func (*RemoveAlbumRequest) Reset ¶
func (x *RemoveAlbumRequest) Reset()
func (*RemoveAlbumRequest) String ¶
func (x *RemoveAlbumRequest) String() string
type Role ¶
type Role int32
func (Role) Descriptor ¶
func (Role) Descriptor() protoreflect.EnumDescriptor
func (Role) EnumDescriptor
deprecated
func (Role) Number ¶
func (x Role) Number() protoreflect.EnumNumber
func (Role) Type ¶
func (Role) Type() protoreflect.EnumType
type UnimplementedMelomanServer ¶
type UnimplementedMelomanServer struct { }
UnimplementedMelomanServer must be embedded to have forward compatible implementations.
func (UnimplementedMelomanServer) AddAlbum ¶
func (UnimplementedMelomanServer) AddAlbum(context.Context, *AddAlbumRequest) (*emptypb.Empty, error)
func (UnimplementedMelomanServer) Auth ¶
func (UnimplementedMelomanServer) Auth(context.Context, *AuthRequest) (*AuthResponse, error)
func (UnimplementedMelomanServer) CreateAlbum ¶
func (UnimplementedMelomanServer) CreateAlbum(context.Context, *CreateAlbumRequest) (*CreateAlbumResponse, error)
func (UnimplementedMelomanServer) CreateArtist ¶
func (UnimplementedMelomanServer) CreateArtist(context.Context, *CreateArtistRequest) (*CreateArtistsResponse, error)
func (UnimplementedMelomanServer) CreateTrack ¶
func (UnimplementedMelomanServer) CreateTrack(context.Context, *CreateTrackRequest) (*CreateTrackResponse, error)
func (UnimplementedMelomanServer) CreateUser ¶
func (UnimplementedMelomanServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
func (UnimplementedMelomanServer) GetAlbumTracks ¶
func (UnimplementedMelomanServer) GetAlbumTracks(context.Context, *GetAlbumTracksRequest) (*GetAlbumTracksResponse, error)
func (UnimplementedMelomanServer) GetAlbumsByFilter ¶
func (UnimplementedMelomanServer) GetAlbumsByFilter(context.Context, *GetAlbumsByFilterRequest) (*GetAlbumsByFilterResponse, error)
func (UnimplementedMelomanServer) GetArtistAlbums ¶
func (UnimplementedMelomanServer) GetArtistAlbums(context.Context, *GetArtistAlbumsRequest) (*GetArtistAlbumsResponse, error)
func (UnimplementedMelomanServer) GetArtistByID ¶
func (UnimplementedMelomanServer) GetArtistByID(context.Context, *GetArtistByIDRequest) (*GetArtistByIDResponse, error)
func (UnimplementedMelomanServer) GetArtists ¶
func (UnimplementedMelomanServer) GetArtists(context.Context, *GetArtistsRequest) (*GetArtistsResponse, error)
func (UnimplementedMelomanServer) GetFormats ¶
func (UnimplementedMelomanServer) GetFormats(context.Context, *emptypb.Empty) (*GetFormatsResponse, error)
func (UnimplementedMelomanServer) GetLabels ¶
func (UnimplementedMelomanServer) GetLabels(context.Context, *emptypb.Empty) (*GetLabelsResponse, error)
func (UnimplementedMelomanServer) GetTopPopularArtists ¶
func (UnimplementedMelomanServer) GetTopPopularArtists(context.Context, *emptypb.Empty) (*GetTopPopularArtistsResponse, error)
func (UnimplementedMelomanServer) GetUserByID ¶
func (UnimplementedMelomanServer) GetUserByID(context.Context, *GetUserByIDRequest) (*GetUserByIDResponse, error)
func (UnimplementedMelomanServer) GetUserCollection ¶
func (UnimplementedMelomanServer) GetUserCollection(context.Context, *GetUserCollectionRequest) (*GetUserCollectionResponse, error)
func (UnimplementedMelomanServer) GetUsers ¶
func (UnimplementedMelomanServer) GetUsers(context.Context, *GetUsersRequest) (*GetUsersResponse, error)
func (UnimplementedMelomanServer) RemoveAlbum ¶
func (UnimplementedMelomanServer) RemoveAlbum(context.Context, *RemoveAlbumRequest) (*emptypb.Empty, error)
func (UnimplementedMelomanServer) UpdateUserRole ¶
func (UnimplementedMelomanServer) UpdateUserRole(context.Context, *UpdateUserRoleRequest) (*emptypb.Empty, error)
type UnsafeMelomanServer ¶
type UnsafeMelomanServer interface {
// contains filtered or unexported methods
}
UnsafeMelomanServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MelomanServer will result in compilation errors.
type UpdateUserRoleRequest ¶
type UpdateUserRoleRequest struct { // uuid пользователя Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // роль Role *UpdateUserRoleRequest_Value `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserRoleRequest) Descriptor
deprecated
func (*UpdateUserRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserRoleRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserRoleRequest) GetId ¶
func (x *UpdateUserRoleRequest) GetId() string
func (*UpdateUserRoleRequest) GetRole ¶
func (x *UpdateUserRoleRequest) GetRole() *UpdateUserRoleRequest_Value
func (*UpdateUserRoleRequest) ProtoMessage ¶
func (*UpdateUserRoleRequest) ProtoMessage()
func (*UpdateUserRoleRequest) ProtoReflect ¶
func (x *UpdateUserRoleRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserRoleRequest) Reset ¶
func (x *UpdateUserRoleRequest) Reset()
func (*UpdateUserRoleRequest) String ¶
func (x *UpdateUserRoleRequest) String() string
type UpdateUserRoleRequest_Value ¶
type UpdateUserRoleRequest_Value struct { Role Role `protobuf:"varint,1,opt,name=role,proto3,enum=github.moguchev.meloman.Role" json:"role,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserRoleRequest_Value) Descriptor
deprecated
func (*UpdateUserRoleRequest_Value) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserRoleRequest_Value.ProtoReflect.Descriptor instead.
func (*UpdateUserRoleRequest_Value) GetRole ¶
func (x *UpdateUserRoleRequest_Value) GetRole() Role
func (*UpdateUserRoleRequest_Value) ProtoMessage ¶
func (*UpdateUserRoleRequest_Value) ProtoMessage()
func (*UpdateUserRoleRequest_Value) ProtoReflect ¶
func (x *UpdateUserRoleRequest_Value) ProtoReflect() protoreflect.Message
func (*UpdateUserRoleRequest_Value) Reset ¶
func (x *UpdateUserRoleRequest_Value) Reset()
func (*UpdateUserRoleRequest_Value) String ¶
func (x *UpdateUserRoleRequest_Value) String() string
type User ¶
type User struct { // логин Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"` // время регистрации пользователя CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // время последнего изменения пользователя UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // роль пользователя Role Role `protobuf:"varint,4,opt,name=role,proto3,enum=github.moguchev.meloman.Role" json:"role,omitempty"` // ID пользователя Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetCreatedAt ¶
func (x *User) GetCreatedAt() *timestamppb.Timestamp
func (*User) GetUpdatedAt ¶
func (x *User) GetUpdatedAt() *timestamppb.Timestamp
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message