aini

package module
v0.0.0-...-578e4c7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2019 License: MIT Imports: 9 Imported by: 0

README

Forked from github.com/outten45/aini for pull-requests purposes

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL