upload

package
v0.0.0-...-1f55c80 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckVideo

func CheckVideo(src string) error

CheckVideo 检查视频

func CheckVideoExist

func CheckVideoExist(fileName string) (bool, error)

CheckVideoExist 检查视频文件是否存在

func CheckVideoExt

func CheckVideoExt(fileName string) bool

CheckVideoExt 检查上传文件格式

func CheckVideoSize

func CheckVideoSize(f multipart.File) bool

CheckVideoSize 检查上传文件的大小

func GetVideoFullPath

func GetVideoFullPath() string

GetVideoFullPath 获取视频文件的路径

Types

This section is empty.

Jump to

Keyboard shortcuts

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