README ¶ Forked from github.com/outten45/aini for pull-requests purposes Expand ▾ Collapse ▴ Documentation ¶ Index ¶ type Host type Hosts func NewFile(f string) (*Hosts, error) func NewParser(r io.Reader) (*Hosts, error) func (h *Hosts) Match(m string) []Host Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Host ¶ type Host struct { Name string Port int `json:",omitempty"` User string `json:",omitempty"` Pass string `json:",omitempty"` PrivateKey string `json:",omitempty"` Rest []string `json:",omitempty"` } type Hosts ¶ type Hosts struct { Groups map[string][]Host // contains filtered or unexported fields } func NewFile ¶ func NewFile(f string) (*Hosts, error) func NewParser ¶ func NewParser(r io.Reader) (*Hosts, error) func (*Hosts) Match ¶ func (h *Hosts) Match(m string) []Host Source Files ¶ View all Source files aini.go Click to show internal directories. Click to hide internal directories.