Documentation ¶ Index ¶ type Key func ParseKey(line string, managed bool) (Key, error) func (k Key) String() string type KeySorter func (s KeySorter) Len() int func (s KeySorter) Less(a, b int) bool func (s KeySorter) Swap(a, b int) type KeysReader func NewKeysReader() KeysReader Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Key ¶ type Key struct { Managed bool Value string User string Host string } func ParseKey ¶ func ParseKey(line string, managed bool) (Key, error) func (Key) String ¶ func (k Key) String() string type KeySorter ¶ type KeySorter []Key func (KeySorter) Len ¶ func (s KeySorter) Len() int func (KeySorter) Less ¶ func (s KeySorter) Less(a, b int) bool func (KeySorter) Swap ¶ func (s KeySorter) Swap(a, b int) type KeysReader ¶ type KeysReader interface { ReadKeys(filename string) (*set.Set[Key], error) } func NewKeysReader ¶ func NewKeysReader() KeysReader Source Files ¶ View all Source files keys.goreader.go Click to show internal directories. Click to hide internal directories.