publish

package
v0.0.0-...-bdd2a71 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VideoPlayUrl = iota
	VideoObjectName
	CoverUrl
	CoverObjectName
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ListPublishedVideosByUserIdLogic

type ListPublishedVideosByUserIdLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewListPublishedVideosByUserIdLogic

func NewListPublishedVideosByUserIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListPublishedVideosByUserIdLogic

func (*ListPublishedVideosByUserIdLogic) ListPublishedVideosByUserId

func (l *ListPublishedVideosByUserIdLogic) ListPublishedVideosByUserId(req *types.UserIdReq, loggedUser *utils.JwtUser) (map[string]interface{}, error)

type PublishActionLogic

type PublishActionLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewPublishActionLogic

func NewPublishActionLogic(ctx context.Context, svcCtx *svc.ServiceContext) *PublishActionLogic

func (*PublishActionLogic) PublishAction

func (l *PublishActionLogic) PublishAction(req *types.PublishActionReq, file multipart.File, header *multipart.FileHeader, loggedUser *utils.JwtUser) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL