Documentation ¶
Index ¶
- Constants
- Variables
- func ClampDuration(min, max time.Duration) func(input time.Duration) (result time.Duration)
- func ClampFloat(min, max float64) func(input float64) (result float64)
- func ClampInt(min, max int) func(input int) (result int)
- func StringType(typ, input string, defaultPort int) (cleaned string, e error)
Constants ¶
View Source
const ( NetAddress = "netaddress" Password = "password" FilePath = "filepath" Directory = "directory" )
Variables ¶
View Source
var F, E, W, I, D, T log.LevelPrinter = log.GetLogPrinterSet(subsystem)
Functions ¶
func ClampDuration ¶
func ClampFloat ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.