Documentation
¶
Overview ¶
Package ssh is a set of types and functions for parsing and applying a user's SSH hostname aliases.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Translator ¶
Translator is the interface that encapsulates the SSH hostname alias translate method.
func NewTranslator ¶
func NewTranslator() Translator
NewTranslator constructs a map of SSH hostname aliases based on user and system configuration files. It returns a Translator to apply these mappings.
Click to show internal directories.
Click to hide internal directories.