package
1.1.4
Repository: https://github.com/guumaster/hostctl.git
Documentation: pkg.go.dev

# Functions

NewRoute creates an new Route.

# Constants

Default is the name of the default profile.
Disabled marks a profile not active on your hosts file.
Enabled marks a profile active on your hosts file.

# Variables

DefaultColumns is the list of default columns to use when showing table list.
ErrDefaultProfile when trying to edit default content.
ErrInvalidIP when the IP is malformed.
ErrInvalidProfileHeader when the profile header is invalid.
ErrMissingProfile when the profile is mandatory.
ErrNoContent when data to write is empty.
ErrNotPresentIP when looking for an IP not contained in profile.
ErrUnknownNetworkID when you pass an invalid network ID to sync docker.
ErrUnknownProfile when the profile is not present.
ProfilesOnlyColumns are the columns used for profile status list.

# Structs

Content contains complete data of all profiles.
Profile contains all data of a single profile.
Route contains hostnames of all routes with the same IP.
Row represents a line for all output types.

# Interfaces

Renderer is the interface to render hosts file content.

# Type aliases

DefaultProfile contains data for the default profile.
Status represents the status of a Profile.