Documentation ¶
Index ¶
- Variables
- func CopyFile(src, dst string) (int64, error)
- func FormatTime(t int) string
- func GetSingleFile(form *multipart.Form, name string) (*multipart.FileHeader, error)
- func HasMusic(entries []fs.DirEntry) bool
- func IsFileLossyFormat(file string) bool
- func IsLossyFormatExt(ext string) bool
- func IsMultiDisc(entries []fs.DirEntry) bool
- func IsMultiDiscName(name string) bool
- func IsMusicFile(p string) bool
- func IsValidImageExt(ext string) bool
- func IsValidTrackExt(ext string) bool
- func ParseAuthHeader(authHeader string) (string, error)
- func SymlinkReplace(src, dst string) error
- func WriteFormFile(file *multipart.FileHeader, dst string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var CreateId = createIdGenerator()
Functions ¶
func FormatTime ¶ added in v0.8.0
func GetSingleFile ¶
func IsFileLossyFormat ¶ added in v0.10.0
func IsLossyFormatExt ¶ added in v0.10.0
func IsMultiDisc ¶ added in v0.3.0
func IsMultiDiscName ¶ added in v0.3.0
func IsMusicFile ¶ added in v0.3.0
func IsValidImageExt ¶ added in v0.7.0
func IsValidTrackExt ¶
func ParseAuthHeader ¶ added in v0.10.0
func SymlinkReplace ¶ added in v0.6.0
func WriteFormFile ¶
func WriteFormFile(file *multipart.FileHeader, dst string) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.