logic

package
v0.0.0-...-9188d2c Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package logic 业务处理层

Index

Constants

This section is empty.

Variables

View Source
var (
	InvalidVideoURL   = errors.New("视频URL参数不合法")
	VideoEncodingErr  = errors.New("视频编码错误")
	VideoEditErr      = errors.New("视频剪辑错误")
	UploadVideoErr    = errors.New("视频上传错误")
	RecordEditDataErr = errors.New("剪辑记录写入MySQL错误")
)

Functions

func EditorProgress

func EditorProgress(fileName string) (resPercent string, err error)

EditorProgress 计算视频剪辑进度的业务逻辑

func VideoEditor

func VideoEditor(videoURL, StartTime, EndTime string, userId int64) (ResultVideoURL string, err error)

VideoEditor 视频剪辑业务逻辑

Types

This section is empty.

Jump to

Keyboard shortcuts

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