Package host contains functionality for dealing with the machine which Bosun is running on.
NewHostNameProcessor constructs a new name.Processor for host names
Host is an interface which defines operations which can be performed against the machine which Bosun is running on.
GetName returns the name of the host.
SetName allows for the current host name to be overridden.
GetNameProcessor returns the name.Processor that is associated with the host.
SetNameProcessor allows for the name.Processor that is associated with the host to be overridden.
NewHost constructs a new Host object
Manager is an interface for types which manage hosts
GetHost returns the Host that represents the machine which the process is running on
GetHostName returns the name of the managed host - is simply more convenient than calling manager.GetHost().GetName()
NewManager constructs a new Manager for a host which is named by the operating system
NewManagerForHostname constructs a new Manager for a host which is named according to the 'hostname' parameter