Documentation ¶
Index ¶
- type VideoApplication
- func (s *VideoApplication) FeedShortVideo(ctx context.Context, in *v1.FeedShortVideoRequest) (*v1.FeedShortVideoResponse, error)
- func (s *VideoApplication) GetVideoById(ctx context.Context, in *v1.GetVideoByIdRequest) (*v1.GetVideoByIdResponse, error)
- func (s *VideoApplication) ListPublishedVideo(ctx context.Context, in *v1.ListPublishedVideoRequest) (*v1.ListPublishedVideoResponse, error)
- func (s *VideoApplication) PublishVideo(ctx context.Context, in *v1.PublishVideoRequest) (*v1.PublishVideoResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VideoApplication ¶
type VideoApplication struct { v1.UnimplementedVideoServiceServer // contains filtered or unexported fields }
func NewVideoApplication ¶
func NewVideoApplication(video videodomain.VideoUsecase) *VideoApplication
func (*VideoApplication) FeedShortVideo ¶
func (s *VideoApplication) FeedShortVideo(ctx context.Context, in *v1.FeedShortVideoRequest) (*v1.FeedShortVideoResponse, error)
func (*VideoApplication) GetVideoById ¶
func (s *VideoApplication) GetVideoById(ctx context.Context, in *v1.GetVideoByIdRequest) (*v1.GetVideoByIdResponse, error)
func (*VideoApplication) ListPublishedVideo ¶
func (s *VideoApplication) ListPublishedVideo(ctx context.Context, in *v1.ListPublishedVideoRequest) (*v1.ListPublishedVideoResponse, error)
func (*VideoApplication) PublishVideo ¶
func (s *VideoApplication) PublishVideo(ctx context.Context, in *v1.PublishVideoRequest) (*v1.PublishVideoResponse, error)
Click to show internal directories.
Click to hide internal directories.