Documentation
¶
Index ¶
- Variables
- func CopyFile(src, dst string) (int64, error)
- func GetSingleFile(form *multipart.Form, name string) (*multipart.FileHeader, error)
- func IsValidTrackExt(ext string) bool
- func RunFFmpeg(verbose bool, args ...string) error
- func RunFFprobe(args ...string) ([]byte, error)
- func WriteFormFile(file *multipart.FileHeader, dst string) error
- type FileResult
- type ProbeResult
Constants ¶
This section is empty.
Variables ¶
View Source
var CreateId = createIdGenerator()
Functions ¶
func GetSingleFile ¶
func IsValidTrackExt ¶
func RunFFprobe ¶
func WriteFormFile ¶
func WriteFormFile(file *multipart.FileHeader, dst string) error
Types ¶
type FileResult ¶
type FileResult struct {
Path string
Number int
Name string
Probe ProbeResult
}
func CheckFile ¶
func CheckFile(filepath string) (FileResult, error)
TODO(patrik): Fix this function
Click to show internal directories.
Click to hide internal directories.