Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PublishService ¶
type PublishService struct {
// contains filtered or unexported fields
}
func NewPublishService ¶
func NewPublishService(ctx context.Context, c *app.RequestContext) *PublishService
NewPublishService create publish service
func (*PublishService) PublishAction ¶
func (s *PublishService) PublishAction(req *publish.DouyinPublishActionRequest) (err error)
PublishAction put file to MinIO by the FileHeader in the req and store the bucket name and file name
func (*PublishService) PublishList ¶
func (s *PublishService) PublishList(req *publish.DouyinPublishListRequest) (resp *publish.DouyinPublishListResponse, err error)
PublishList get the video list of user
Click to show internal directories.
Click to hide internal directories.