Documentation ¶
Overview ¶
Package hosts manages alterations to the /etc/hosts file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReplaceTagged ¶
ReplaceTagged removes all lines in /etc/hosts marked with the specified tag and insert the given slice of entries instead. The slice may be nil or zero length to remove all tagged entries.
Types ¶
Click to show internal directories.
Click to hide internal directories.