Documentation ¶
Index ¶
- type Application
- func (a *Application) FeedShortVideo(ctx context.Context, request *svapi.FeedShortVideoRequest) (*svapi.FeedShortVideoResponse, error)
- func (a *Application) GetVideoById(ctx context.Context, request *svapi.GetVideoByIdRequest) (*svapi.GetVideoByIdResponse, error)
- func (a *Application) ListPublishedVideo(ctx context.Context, request *svapi.ListPublishedVideoRequest) (*svapi.ListPublishedVideoResponse, error)
- func (a *Application) PreSign4UploadCover(ctx context.Context, request *svapi.PreSign4UploadRequest) (*svapi.PreSign4UploadResponse, error)
- func (a *Application) PreSign4UploadVideo(ctx context.Context, request *svapi.PreSign4UploadVideoRequest) (*svapi.PreSign4UploadVideoResponse, error)
- func (a *Application) ReportFinishUpload(ctx context.Context, request *svapi.ReportFinishUploadRequest) (*svapi.ReportFinishUploadResponse, error)
- func (a *Application) ReportVideoFinishUpload(ctx context.Context, request *svapi.ReportVideoFinishUploadRequest) (*svapi.ReportVideoFinishUploadResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
func New ¶
func New( base *baseadapter.Adapter, core *svcoreadapter.Adapter, videoService videoserviceiface.VideoService, ) *Application
func (*Application) FeedShortVideo ¶
func (a *Application) FeedShortVideo(ctx context.Context, request *svapi.FeedShortVideoRequest) (*svapi.FeedShortVideoResponse, error)
func (*Application) GetVideoById ¶
func (a *Application) GetVideoById(ctx context.Context, request *svapi.GetVideoByIdRequest) (*svapi.GetVideoByIdResponse, error)
func (*Application) ListPublishedVideo ¶
func (a *Application) ListPublishedVideo(ctx context.Context, request *svapi.ListPublishedVideoRequest) (*svapi.ListPublishedVideoResponse, error)
func (*Application) PreSign4UploadCover ¶
func (a *Application) PreSign4UploadCover(ctx context.Context, request *svapi.PreSign4UploadRequest) (*svapi.PreSign4UploadResponse, error)
func (*Application) PreSign4UploadVideo ¶
func (a *Application) PreSign4UploadVideo(ctx context.Context, request *svapi.PreSign4UploadVideoRequest) (*svapi.PreSign4UploadVideoResponse, error)
func (*Application) ReportFinishUpload ¶
func (a *Application) ReportFinishUpload(ctx context.Context, request *svapi.ReportFinishUploadRequest) (*svapi.ReportFinishUploadResponse, error)
func (*Application) ReportVideoFinishUpload ¶
func (a *Application) ReportVideoFinishUpload(ctx context.Context, request *svapi.ReportVideoFinishUploadRequest) (*svapi.ReportVideoFinishUploadResponse, error)
Click to show internal directories.
Click to hide internal directories.