Documentation ¶
Index ¶
- Constants
- 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 ¶
This section is empty.
Functions ¶
func ClampDuration ¶
func ClampFloat ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.