Documentation ¶
Index ¶
- Constants
- func GetDirectoryNameOrDie(envStr string) string
- func GetEnvOrDie(envStr string) string
- func GetEnvWithDefault(envStr, defaultStr string) string
- func GetInteger(envStr string) (int, error)
- func GetIntegerInRange(envStr string, minInt, maxInt int) (int, error)
- func GetIntegerWithDefault(envStr string, defaultInt int) int
- func GetPort(envStr string) (int, error)
- func GetPortOrDie(envStr string) int
- func GetPortWithDefault(envStr string, defaultPort int) int
Constants ¶
View Source
const INVALID_PORT = -1
View Source
const MAX_PORT = 65535
View Source
const MIN_PORT = 1
Variables ¶
This section is empty.
Functions ¶
func GetDirectoryNameOrDie ¶
func GetEnvOrDie ¶
func GetEnvWithDefault ¶
func GetInteger ¶
func GetIntegerWithDefault ¶
func GetPortOrDie ¶
func GetPortWithDefault ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.