Documentation ¶ Index ¶ Variables func Connect(host *Host) type Header func (h Header) String() string type Host func LoadHosts(fp string) ([]*Host, error) func (h Host) Get(header Header) string func (h *Host) Iter() iter.Seq2[Header, string] Constants ¶ This section is empty. Variables ¶ View Source var HeadersStringList = [headersLen]string{"Name", "Host", "Port", "User", "Identity"} Functions ¶ func Connect ¶ func Connect(host *Host) Types ¶ type Header ¶ type Header uint8 const ( NameHeader Header = iota HostHeader PortHeader UserHeader IdentityHeader ) func (Header) String ¶ func (h Header) String() string type Host ¶ type Host [headersLen]string func LoadHosts ¶ func LoadHosts(fp string) ([]*Host, error) func (Host) Get ¶ func (h Host) Get(header Header) string func (*Host) Iter ¶ func (h *Host) Iter() iter.Seq2[Header, string] Source Files ¶ View all Source files connection.goheaders.goservers.go Click to show internal directories. Click to hide internal directories.