Versions in this module Expand all Collapse all v0 v0.4.0 Mar 27, 2022 Changes in this version + type DB struct + func Open(dbLoc, hostname string) (*DB, error) + func (d *DB) FetchAll(hostname string) (map[string]Host, error) + func (d *DB) FetchAllItemsString(hostname string) ([]string, error) + func (d *DB) GetHostInfo(hostname string, host []byte) (Host, error) + func (d *DB) RemoveHost(hostname string, host []byte) error + func (d *DB) Write(hostname string, key, val []byte) error + type DataStore interface + FetchAll func(string) (map[string]Host, error) + FetchAllItemsString func(string) ([]string, error) + GetHostInfo func(string, []byte) (Host, error) + RemoveHost func(string, []byte) error + Write func(string, []byte, []byte) error + type Host struct + Host []string + HostKeyAlgorithms string + HostName string + IdentityFile string + KeepAlive int8 + Port int + ProxyCommand string + User string + func (h Host) String() string + type Hosts []Host