package
0.0.0-20240818021530-f5e744f7964a
Repository: https://github.com/kaisenlinux/docker.io.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 an arbitrary number of Records already existing in /etc/hosts file.
Drop drops the path string from the path cache.
Update all IP addresses where hostname matches.

# Structs

Record Structure for a single host record.