package
0.0.0-20250130204033-e82d90384e5b
Repository: https://github.com/laurentgoderre/moby.git
Documentation: pkg.go.dev

# Functions

Add adds an arbitrary number of Records to an already existing /etc/hosts file.
Build function path is path to host file string required extraContent is an array of extra host records.
BuildNoIPv6 is the same as Build, but will not include IPv6 entries.
Delete deletes Records from /etc/hosts.
Drop drops the path string from the path cache.
Update all IP addresses where hostname matches.

# Structs

Record Structure for a single host record.