Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NormalizeFilesystemPath ¶ added in v0.1.26
NormalizeFilesystemPath cleans a directory specification, expands the ~ home folder shortcut, and if abs is set to true, returns the absolute path from filesystem root
func NormalizeNetworkAddress ¶ added in v0.1.26
NormalizeNetworkAddress checks correctness of a network address specification, and adds a default path if needed, and enforces whether the port requires root permission and clamps it if not.
Types ¶
type Opt ¶
type Opt struct {
// contains filtered or unexported fields
}
func (*Opt) FromString ¶ added in v0.1.18
Click to show internal directories.
Click to hide internal directories.