Documentation ¶
Index ¶
- Variables
- func RegisterPlaylistUseCaseServer(s grpc.ServiceRegistrar, srv PlaylistUseCaseServer)
- type Playlist
- type PlaylistDataTransfer
- func (*PlaylistDataTransfer) Descriptor() ([]byte, []int)deprecated
- func (x *PlaylistDataTransfer) GetId() int64
- func (x *PlaylistDataTransfer) GetTitle() string
- func (x *PlaylistDataTransfer) GetTracks() []*trackProto.TrackDataTransfer
- func (*PlaylistDataTransfer) ProtoMessage()
- func (x *PlaylistDataTransfer) ProtoReflect() protoreflect.Message
- func (x *PlaylistDataTransfer) Reset()
- func (x *PlaylistDataTransfer) String() string
- type PlaylistIdTrackId
- func (*PlaylistIdTrackId) Descriptor() ([]byte, []int)deprecated
- func (x *PlaylistIdTrackId) GetPlaylistId() int64
- func (x *PlaylistIdTrackId) GetTrackId() int64
- func (*PlaylistIdTrackId) ProtoMessage()
- func (x *PlaylistIdTrackId) ProtoReflect() protoreflect.Message
- func (x *PlaylistIdTrackId) Reset()
- func (x *PlaylistIdTrackId) String() string
- type PlaylistUseCaseClient
- type PlaylistUseCaseResponse
- func (*PlaylistUseCaseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PlaylistUseCaseResponse) GetData() *PlaylistDataTransfer
- func (*PlaylistUseCaseResponse) ProtoMessage()
- func (x *PlaylistUseCaseResponse) ProtoReflect() protoreflect.Message
- func (x *PlaylistUseCaseResponse) Reset()
- func (x *PlaylistUseCaseResponse) String() string
- type PlaylistUseCaseServer
- type PlaylistsResponse
- func (*PlaylistsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PlaylistsResponse) GetPlaylists() []*Playlist
- func (*PlaylistsResponse) ProtoMessage()
- func (x *PlaylistsResponse) ProtoReflect() protoreflect.Message
- func (x *PlaylistsResponse) Reset()
- func (x *PlaylistsResponse) String() string
- type UnimplementedPlaylistUseCaseServer
- func (UnimplementedPlaylistUseCaseServer) AddToPlaylist(context.Context, *UserIdPlaylistIdTracksArg) (*empty.Empty, error)
- func (UnimplementedPlaylistUseCaseServer) Create(context.Context, *UserIdPlaylistArg) (*empty.Empty, error)
- func (UnimplementedPlaylistUseCaseServer) Delete(context.Context, *UserIdPlaylistIdArg) (*empty.Empty, error)
- func (UnimplementedPlaylistUseCaseServer) GetAll(context.Context, *empty.Empty) (*PlaylistsResponse, error)
- func (UnimplementedPlaylistUseCaseServer) GetAllOfCurrentUser(context.Context, *gatewayProto.IdArg) (*PlaylistsResponse, error)
- func (UnimplementedPlaylistUseCaseServer) GetById(context.Context, *gatewayProto.IdArg) (*Playlist, error)
- func (UnimplementedPlaylistUseCaseServer) GetByIdOfCurrentUser(context.Context, *UserIdPlaylistIdArg) (*Playlist, error)
- func (UnimplementedPlaylistUseCaseServer) GetLastId(context.Context, *empty.Empty) (*gatewayProto.IntResponse, error)
- func (UnimplementedPlaylistUseCaseServer) GetLastIdOfCurrentUser(context.Context, *gatewayProto.IdArg) (*gatewayProto.IntResponse, error)
- func (UnimplementedPlaylistUseCaseServer) GetSize(context.Context, *empty.Empty) (*gatewayProto.IntResponse, error)
- func (UnimplementedPlaylistUseCaseServer) GetSizeOfCurrentUser(context.Context, *gatewayProto.IdArg) (*gatewayProto.IntResponse, error)
- func (UnimplementedPlaylistUseCaseServer) RemoveFromPlaylist(context.Context, *UserIdPlaylistIdTracksArg) (*empty.Empty, error)
- func (UnimplementedPlaylistUseCaseServer) Update(context.Context, *UserIdPlaylistArg) (*empty.Empty, error)
- type UnsafePlaylistUseCaseServer
- type UserIdPlaylistArg
- func (*UserIdPlaylistArg) Descriptor() ([]byte, []int)deprecated
- func (x *UserIdPlaylistArg) GetPlaylist() *Playlist
- func (x *UserIdPlaylistArg) GetUserId() int64
- func (*UserIdPlaylistArg) ProtoMessage()
- func (x *UserIdPlaylistArg) ProtoReflect() protoreflect.Message
- func (x *UserIdPlaylistArg) Reset()
- func (x *UserIdPlaylistArg) String() string
- type UserIdPlaylistIdArg
- func (*UserIdPlaylistIdArg) Descriptor() ([]byte, []int)deprecated
- func (x *UserIdPlaylistIdArg) GetPlaylistId() int64
- func (x *UserIdPlaylistIdArg) GetUserId() int64
- func (*UserIdPlaylistIdArg) ProtoMessage()
- func (x *UserIdPlaylistIdArg) ProtoReflect() protoreflect.Message
- func (x *UserIdPlaylistIdArg) Reset()
- func (x *UserIdPlaylistIdArg) String() string
- type UserIdPlaylistIdTracksArg
- func (*UserIdPlaylistIdTracksArg) Descriptor() ([]byte, []int)deprecated
- func (x *UserIdPlaylistIdTracksArg) GetPlaylistId() int64
- func (x *UserIdPlaylistIdTracksArg) GetTrackId() int64
- func (x *UserIdPlaylistIdTracksArg) GetUserId() int64
- func (*UserIdPlaylistIdTracksArg) ProtoMessage()
- func (x *UserIdPlaylistIdTracksArg) ProtoReflect() protoreflect.Message
- func (x *UserIdPlaylistIdTracksArg) Reset()
- func (x *UserIdPlaylistIdTracksArg) String() string
- type UserPlaylist
- func (*UserPlaylist) Descriptor() ([]byte, []int)deprecated
- func (x *UserPlaylist) GetPlaylistId() int64
- func (x *UserPlaylist) GetUserId() int64
- func (*UserPlaylist) ProtoMessage()
- func (x *UserPlaylist) ProtoReflect() protoreflect.Message
- func (x *UserPlaylist) Reset()
- func (x *UserPlaylist) String() string
Constants ¶
This section is empty.
Variables ¶
var File_playlist_playlistProto_playlist_proto protoreflect.FileDescriptor
var PlaylistUseCase_ServiceDesc = grpc.ServiceDesc{ ServiceName: "playlist.PlaylistUseCase", HandlerType: (*PlaylistUseCaseServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetAll", Handler: _PlaylistUseCase_GetAll_Handler, }, { MethodName: "GetAllOfCurrentUser", Handler: _PlaylistUseCase_GetAllOfCurrentUser_Handler, }, { MethodName: "GetLastId", Handler: _PlaylistUseCase_GetLastId_Handler, }, { MethodName: "GetLastIdOfCurrentUser", Handler: _PlaylistUseCase_GetLastIdOfCurrentUser_Handler, }, { MethodName: "Create", Handler: _PlaylistUseCase_Create_Handler, }, { MethodName: "AddToPlaylist", Handler: _PlaylistUseCase_AddToPlaylist_Handler, }, { MethodName: "RemoveFromPlaylist", Handler: _PlaylistUseCase_RemoveFromPlaylist_Handler, }, { MethodName: "Update", Handler: _PlaylistUseCase_Update_Handler, }, { MethodName: "Delete", Handler: _PlaylistUseCase_Delete_Handler, }, { MethodName: "GetById", Handler: _PlaylistUseCase_GetById_Handler, }, { MethodName: "GetByIdOfCurrentUser", Handler: _PlaylistUseCase_GetByIdOfCurrentUser_Handler, }, { MethodName: "GetSize", Handler: _PlaylistUseCase_GetSize_Handler, }, { MethodName: "GetSizeOfCurrentUser", Handler: _PlaylistUseCase_GetSizeOfCurrentUser_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "playlist/playlistProto/playlist.proto", }
PlaylistUseCase_ServiceDesc is the grpc.ServiceDesc for PlaylistUseCase service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterPlaylistUseCaseServer ¶
func RegisterPlaylistUseCaseServer(s grpc.ServiceRegistrar, srv PlaylistUseCaseServer)
Types ¶
type Playlist ¶
type Playlist struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id" example:"4" db:"id" validate:"min=0"` // @gotags: json:"id" example:"4" db:"id" validate:"min=0" Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title" example:"Rain" db:"title" validate:"max=256,nonnil"` // @gotags: json:"title" example:"Rain" db:"title" validate:"max=256,nonnil" // contains filtered or unexported fields }
func (*Playlist) Descriptor
deprecated
func (*Playlist) ProtoMessage ¶
func (*Playlist) ProtoMessage()
func (*Playlist) ProtoReflect ¶
func (x *Playlist) ProtoReflect() protoreflect.Message
type PlaylistDataTransfer ¶
type PlaylistDataTransfer struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id" example:"4"` // @gotags: json:"id" example:"4" Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title" example:"Rain"` // @gotags: json:"title" example:"Rain" Tracks []*trackProto.TrackDataTransfer `protobuf:"bytes,3,rep,name=tracks,proto3" json:"tracks,omitempty"` // contains filtered or unexported fields }
func (*PlaylistDataTransfer) Descriptor
deprecated
func (*PlaylistDataTransfer) Descriptor() ([]byte, []int)
Deprecated: Use PlaylistDataTransfer.ProtoReflect.Descriptor instead.
func (*PlaylistDataTransfer) GetId ¶
func (x *PlaylistDataTransfer) GetId() int64
func (*PlaylistDataTransfer) GetTitle ¶
func (x *PlaylistDataTransfer) GetTitle() string
func (*PlaylistDataTransfer) GetTracks ¶
func (x *PlaylistDataTransfer) GetTracks() []*trackProto.TrackDataTransfer
func (*PlaylistDataTransfer) ProtoMessage ¶
func (*PlaylistDataTransfer) ProtoMessage()
func (*PlaylistDataTransfer) ProtoReflect ¶
func (x *PlaylistDataTransfer) ProtoReflect() protoreflect.Message
func (*PlaylistDataTransfer) Reset ¶
func (x *PlaylistDataTransfer) Reset()
func (*PlaylistDataTransfer) String ¶
func (x *PlaylistDataTransfer) String() string
type PlaylistIdTrackId ¶
type PlaylistIdTrackId struct { PlaylistId int64 `protobuf:"varint,1,opt,name=playlistId,proto3" json:"playlistId" example:"4" db:"playlist_id" validate:"min=0"` // @gotags: json:"playlistId" example:"4" db:"playlist_id" validate:"min=0" TrackId int64 `protobuf:"varint,2,opt,name=trackId,proto3" json:"trackId" example:"5" db:"track_id" validate:"min=0"` // @gotags: json:"trackId" example:"5" db:"track_id" validate:"min=0" // contains filtered or unexported fields }
func (*PlaylistIdTrackId) Descriptor
deprecated
func (*PlaylistIdTrackId) Descriptor() ([]byte, []int)
Deprecated: Use PlaylistIdTrackId.ProtoReflect.Descriptor instead.
func (*PlaylistIdTrackId) GetPlaylistId ¶
func (x *PlaylistIdTrackId) GetPlaylistId() int64
func (*PlaylistIdTrackId) GetTrackId ¶
func (x *PlaylistIdTrackId) GetTrackId() int64
func (*PlaylistIdTrackId) ProtoMessage ¶
func (*PlaylistIdTrackId) ProtoMessage()
func (*PlaylistIdTrackId) ProtoReflect ¶
func (x *PlaylistIdTrackId) ProtoReflect() protoreflect.Message
func (*PlaylistIdTrackId) Reset ¶
func (x *PlaylistIdTrackId) Reset()
func (*PlaylistIdTrackId) String ¶
func (x *PlaylistIdTrackId) String() string
type PlaylistUseCaseClient ¶
type PlaylistUseCaseClient interface { GetAll(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*PlaylistsResponse, error) GetAllOfCurrentUser(ctx context.Context, in *gatewayProto.IdArg, opts ...grpc.CallOption) (*PlaylistsResponse, error) GetLastId(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*gatewayProto.IntResponse, error) GetLastIdOfCurrentUser(ctx context.Context, in *gatewayProto.IdArg, opts ...grpc.CallOption) (*gatewayProto.IntResponse, error) Create(ctx context.Context, in *UserIdPlaylistArg, opts ...grpc.CallOption) (*empty.Empty, error) AddToPlaylist(ctx context.Context, in *UserIdPlaylistIdTracksArg, opts ...grpc.CallOption) (*empty.Empty, error) RemoveFromPlaylist(ctx context.Context, in *UserIdPlaylistIdTracksArg, opts ...grpc.CallOption) (*empty.Empty, error) Update(ctx context.Context, in *UserIdPlaylistArg, opts ...grpc.CallOption) (*empty.Empty, error) Delete(ctx context.Context, in *UserIdPlaylistIdArg, opts ...grpc.CallOption) (*empty.Empty, error) GetById(ctx context.Context, in *gatewayProto.IdArg, opts ...grpc.CallOption) (*Playlist, error) GetByIdOfCurrentUser(ctx context.Context, in *UserIdPlaylistIdArg, opts ...grpc.CallOption) (*Playlist, error) GetSize(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*gatewayProto.IntResponse, error) GetSizeOfCurrentUser(ctx context.Context, in *gatewayProto.IdArg, opts ...grpc.CallOption) (*gatewayProto.IntResponse, error) }
PlaylistUseCaseClient is the client API for PlaylistUseCase 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 NewPlaylistUseCaseClient ¶
func NewPlaylistUseCaseClient(cc grpc.ClientConnInterface) PlaylistUseCaseClient
type PlaylistUseCaseResponse ¶
type PlaylistUseCaseResponse struct { Data *PlaylistDataTransfer `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*PlaylistUseCaseResponse) Descriptor
deprecated
func (*PlaylistUseCaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use PlaylistUseCaseResponse.ProtoReflect.Descriptor instead.
func (*PlaylistUseCaseResponse) GetData ¶
func (x *PlaylistUseCaseResponse) GetData() *PlaylistDataTransfer
func (*PlaylistUseCaseResponse) ProtoMessage ¶
func (*PlaylistUseCaseResponse) ProtoMessage()
func (*PlaylistUseCaseResponse) ProtoReflect ¶
func (x *PlaylistUseCaseResponse) ProtoReflect() protoreflect.Message
func (*PlaylistUseCaseResponse) Reset ¶
func (x *PlaylistUseCaseResponse) Reset()
func (*PlaylistUseCaseResponse) String ¶
func (x *PlaylistUseCaseResponse) String() string
type PlaylistUseCaseServer ¶
type PlaylistUseCaseServer interface { GetAll(context.Context, *empty.Empty) (*PlaylistsResponse, error) GetAllOfCurrentUser(context.Context, *gatewayProto.IdArg) (*PlaylistsResponse, error) GetLastId(context.Context, *empty.Empty) (*gatewayProto.IntResponse, error) GetLastIdOfCurrentUser(context.Context, *gatewayProto.IdArg) (*gatewayProto.IntResponse, error) Create(context.Context, *UserIdPlaylistArg) (*empty.Empty, error) AddToPlaylist(context.Context, *UserIdPlaylistIdTracksArg) (*empty.Empty, error) RemoveFromPlaylist(context.Context, *UserIdPlaylistIdTracksArg) (*empty.Empty, error) Update(context.Context, *UserIdPlaylistArg) (*empty.Empty, error) Delete(context.Context, *UserIdPlaylistIdArg) (*empty.Empty, error) GetById(context.Context, *gatewayProto.IdArg) (*Playlist, error) GetByIdOfCurrentUser(context.Context, *UserIdPlaylistIdArg) (*Playlist, error) GetSize(context.Context, *empty.Empty) (*gatewayProto.IntResponse, error) GetSizeOfCurrentUser(context.Context, *gatewayProto.IdArg) (*gatewayProto.IntResponse, error) // contains filtered or unexported methods }
PlaylistUseCaseServer is the server API for PlaylistUseCase service. All implementations must embed UnimplementedPlaylistUseCaseServer for forward compatibility
type PlaylistsResponse ¶
type PlaylistsResponse struct { Playlists []*Playlist `protobuf:"bytes,1,rep,name=playlists,proto3" json:"playlists,omitempty"` // contains filtered or unexported fields }
func (*PlaylistsResponse) Descriptor
deprecated
func (*PlaylistsResponse) Descriptor() ([]byte, []int)
Deprecated: Use PlaylistsResponse.ProtoReflect.Descriptor instead.
func (*PlaylistsResponse) GetPlaylists ¶
func (x *PlaylistsResponse) GetPlaylists() []*Playlist
func (*PlaylistsResponse) ProtoMessage ¶
func (*PlaylistsResponse) ProtoMessage()
func (*PlaylistsResponse) ProtoReflect ¶
func (x *PlaylistsResponse) ProtoReflect() protoreflect.Message
func (*PlaylistsResponse) Reset ¶
func (x *PlaylistsResponse) Reset()
func (*PlaylistsResponse) String ¶
func (x *PlaylistsResponse) String() string
type UnimplementedPlaylistUseCaseServer ¶
type UnimplementedPlaylistUseCaseServer struct { }
UnimplementedPlaylistUseCaseServer must be embedded to have forward compatible implementations.
func (UnimplementedPlaylistUseCaseServer) AddToPlaylist ¶
func (UnimplementedPlaylistUseCaseServer) AddToPlaylist(context.Context, *UserIdPlaylistIdTracksArg) (*empty.Empty, error)
func (UnimplementedPlaylistUseCaseServer) Create ¶
func (UnimplementedPlaylistUseCaseServer) Create(context.Context, *UserIdPlaylistArg) (*empty.Empty, error)
func (UnimplementedPlaylistUseCaseServer) Delete ¶
func (UnimplementedPlaylistUseCaseServer) Delete(context.Context, *UserIdPlaylistIdArg) (*empty.Empty, error)
func (UnimplementedPlaylistUseCaseServer) GetAll ¶
func (UnimplementedPlaylistUseCaseServer) GetAll(context.Context, *empty.Empty) (*PlaylistsResponse, error)
func (UnimplementedPlaylistUseCaseServer) GetAllOfCurrentUser ¶
func (UnimplementedPlaylistUseCaseServer) GetAllOfCurrentUser(context.Context, *gatewayProto.IdArg) (*PlaylistsResponse, error)
func (UnimplementedPlaylistUseCaseServer) GetById ¶
func (UnimplementedPlaylistUseCaseServer) GetById(context.Context, *gatewayProto.IdArg) (*Playlist, error)
func (UnimplementedPlaylistUseCaseServer) GetByIdOfCurrentUser ¶
func (UnimplementedPlaylistUseCaseServer) GetByIdOfCurrentUser(context.Context, *UserIdPlaylistIdArg) (*Playlist, error)
func (UnimplementedPlaylistUseCaseServer) GetLastId ¶
func (UnimplementedPlaylistUseCaseServer) GetLastId(context.Context, *empty.Empty) (*gatewayProto.IntResponse, error)
func (UnimplementedPlaylistUseCaseServer) GetLastIdOfCurrentUser ¶
func (UnimplementedPlaylistUseCaseServer) GetLastIdOfCurrentUser(context.Context, *gatewayProto.IdArg) (*gatewayProto.IntResponse, error)
func (UnimplementedPlaylistUseCaseServer) GetSize ¶
func (UnimplementedPlaylistUseCaseServer) GetSize(context.Context, *empty.Empty) (*gatewayProto.IntResponse, error)
func (UnimplementedPlaylistUseCaseServer) GetSizeOfCurrentUser ¶
func (UnimplementedPlaylistUseCaseServer) GetSizeOfCurrentUser(context.Context, *gatewayProto.IdArg) (*gatewayProto.IntResponse, error)
func (UnimplementedPlaylistUseCaseServer) RemoveFromPlaylist ¶
func (UnimplementedPlaylistUseCaseServer) RemoveFromPlaylist(context.Context, *UserIdPlaylistIdTracksArg) (*empty.Empty, error)
func (UnimplementedPlaylistUseCaseServer) Update ¶
func (UnimplementedPlaylistUseCaseServer) Update(context.Context, *UserIdPlaylistArg) (*empty.Empty, error)
type UnsafePlaylistUseCaseServer ¶
type UnsafePlaylistUseCaseServer interface {
// contains filtered or unexported methods
}
UnsafePlaylistUseCaseServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PlaylistUseCaseServer will result in compilation errors.
type UserIdPlaylistArg ¶
type UserIdPlaylistArg struct { UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` Playlist *Playlist `protobuf:"bytes,2,opt,name=playlist,proto3" json:"playlist,omitempty"` // contains filtered or unexported fields }
func (*UserIdPlaylistArg) Descriptor
deprecated
func (*UserIdPlaylistArg) Descriptor() ([]byte, []int)
Deprecated: Use UserIdPlaylistArg.ProtoReflect.Descriptor instead.
func (*UserIdPlaylistArg) GetPlaylist ¶
func (x *UserIdPlaylistArg) GetPlaylist() *Playlist
func (*UserIdPlaylistArg) GetUserId ¶
func (x *UserIdPlaylistArg) GetUserId() int64
func (*UserIdPlaylistArg) ProtoMessage ¶
func (*UserIdPlaylistArg) ProtoMessage()
func (*UserIdPlaylistArg) ProtoReflect ¶
func (x *UserIdPlaylistArg) ProtoReflect() protoreflect.Message
func (*UserIdPlaylistArg) Reset ¶
func (x *UserIdPlaylistArg) Reset()
func (*UserIdPlaylistArg) String ¶
func (x *UserIdPlaylistArg) String() string
type UserIdPlaylistIdArg ¶
type UserIdPlaylistIdArg struct { UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` PlaylistId int64 `protobuf:"varint,2,opt,name=playlistId,proto3" json:"playlistId,omitempty"` // contains filtered or unexported fields }
func (*UserIdPlaylistIdArg) Descriptor
deprecated
func (*UserIdPlaylistIdArg) Descriptor() ([]byte, []int)
Deprecated: Use UserIdPlaylistIdArg.ProtoReflect.Descriptor instead.
func (*UserIdPlaylistIdArg) GetPlaylistId ¶
func (x *UserIdPlaylistIdArg) GetPlaylistId() int64
func (*UserIdPlaylistIdArg) GetUserId ¶
func (x *UserIdPlaylistIdArg) GetUserId() int64
func (*UserIdPlaylistIdArg) ProtoMessage ¶
func (*UserIdPlaylistIdArg) ProtoMessage()
func (*UserIdPlaylistIdArg) ProtoReflect ¶
func (x *UserIdPlaylistIdArg) ProtoReflect() protoreflect.Message
func (*UserIdPlaylistIdArg) Reset ¶
func (x *UserIdPlaylistIdArg) Reset()
func (*UserIdPlaylistIdArg) String ¶
func (x *UserIdPlaylistIdArg) String() string
type UserIdPlaylistIdTracksArg ¶
type UserIdPlaylistIdTracksArg struct { UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` PlaylistId int64 `protobuf:"varint,2,opt,name=playlistId,proto3" json:"playlistId,omitempty"` TrackId int64 `protobuf:"varint,3,opt,name=track_id,json=trackId,proto3" json:"track_id,omitempty"` // contains filtered or unexported fields }
func (*UserIdPlaylistIdTracksArg) Descriptor
deprecated
func (*UserIdPlaylistIdTracksArg) Descriptor() ([]byte, []int)
Deprecated: Use UserIdPlaylistIdTracksArg.ProtoReflect.Descriptor instead.
func (*UserIdPlaylistIdTracksArg) GetPlaylistId ¶
func (x *UserIdPlaylistIdTracksArg) GetPlaylistId() int64
func (*UserIdPlaylistIdTracksArg) GetTrackId ¶
func (x *UserIdPlaylistIdTracksArg) GetTrackId() int64
func (*UserIdPlaylistIdTracksArg) GetUserId ¶
func (x *UserIdPlaylistIdTracksArg) GetUserId() int64
func (*UserIdPlaylistIdTracksArg) ProtoMessage ¶
func (*UserIdPlaylistIdTracksArg) ProtoMessage()
func (*UserIdPlaylistIdTracksArg) ProtoReflect ¶
func (x *UserIdPlaylistIdTracksArg) ProtoReflect() protoreflect.Message
func (*UserIdPlaylistIdTracksArg) Reset ¶
func (x *UserIdPlaylistIdTracksArg) Reset()
func (*UserIdPlaylistIdTracksArg) String ¶
func (x *UserIdPlaylistIdTracksArg) String() string
type UserPlaylist ¶
type UserPlaylist struct { UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId" example:"4" db:"user_id" validate:"min=0, nonnil"` // @gotags: json:"userId" example:"4" db:"user_id" validate:"min=0, nonnil" PlaylistId int64 `protobuf:"varint,2,opt,name=playlistId,proto3" json:"playlistId" example:"3" db:"playlist_id" validate:"min=0, nonnil"` // @gotags: json:"playlistId" example:"3" db:"playlist_id" validate:"min=0, nonnil" // contains filtered or unexported fields }
func (*UserPlaylist) Descriptor
deprecated
func (*UserPlaylist) Descriptor() ([]byte, []int)
Deprecated: Use UserPlaylist.ProtoReflect.Descriptor instead.
func (*UserPlaylist) GetPlaylistId ¶
func (x *UserPlaylist) GetPlaylistId() int64
func (*UserPlaylist) GetUserId ¶
func (x *UserPlaylist) GetUserId() int64
func (*UserPlaylist) ProtoMessage ¶
func (*UserPlaylist) ProtoMessage()
func (*UserPlaylist) ProtoReflect ¶
func (x *UserPlaylist) ProtoReflect() protoreflect.Message
func (*UserPlaylist) Reset ¶
func (x *UserPlaylist) Reset()
func (*UserPlaylist) String ¶
func (x *UserPlaylist) String() string