Documentation ¶
Overview ¶
Package mnd provides reusable constants for the Notifiarr application packages.
Index ¶
Constants ¶
View Source
const ( Mode0755 = 0o755 Mode0750 = 0o750 Mode0600 = 0o600 Kilobyte = 1024 Megabyte = Kilobyte * Kilobyte KB100 = Kilobyte * 100 OneDay = 24 * time.Hour Base10 = 10 Base8 = 8 Bits64 = 64 Bits32 = 32 Disabled = "disabled" Success = "success" HelpLink = "Notifiarr Discord: https://notifiarr.com/discord" UserRepo = "Notifiarr/toolbarr" BugIssue = "This is a bug please report it on github: https://github.com/" + UserRepo + "/issues/new" IsLinux = runtime.GOOS == "linux" IsWindows = runtime.GOOS == "windows" IsMac = runtime.GOOS == "darwin" )
Application Constants.
View Source
const ( Title = "Toolbarr" Name = "toolbarr" )
Application Defaults.
Variables ¶
This section is empty.
Functions ¶
func FormatBytes ¶
func FormatBytes(size interface{}) string
FormatBytes converts a byte counter into a pretty UI string. The input val must be int, int64, uint64 or float64.
Types ¶
Click to show internal directories.
Click to hide internal directories.