Documentation ¶
Index ¶
- Constants
- func CommonPrefix(first, second string) string
- func CompareStrings(first, second string) bool
- func Format(b float64) string
- func GetMimeType(filename string) string
- func GetPlayableFiles(st state.TorrentStatus) []*state.TorrentFileStat
- func GetScheme(c *gin.Context) string
- func NumberPrefix(str string) (int, error)
- func ParallelFor(begin, end int, fn func(i int))
Constants ¶
View Source
const ( KB MB GB TB PB EB )
Variables ¶
This section is empty.
Functions ¶
func CommonPrefix ¶
func CompareStrings ¶
func GetMimeType ¶
func GetPlayableFiles ¶
func GetPlayableFiles(st state.TorrentStatus) []*state.TorrentFileStat
func NumberPrefix ¶
func ParallelFor ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.