Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( HostsFilePath = "/etc/hosts" UserHome = os.Getenv("HOME") NettoolHome = fmt.Sprintf("%s/.nettool", UserHome) HostLockDir = fmt.Sprintf("%s/lock", NettoolHome) Eol = "\n" )
Functions ¶
func WithEscape ¶
func WithEscape(begin, end string) hostsOpt
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.