package
0.8.0-dev.2
Repository: https://github.com/cloudnativelabs/libnetwork.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 IP, hostname, and domainname set main record leave empty for no master record extraContent is an array of extra host records.
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.