sshconfig

package module
v0.0.0-...-91643ad Latest Latest
Warning

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

Go to latest
Published: May 5, 2017 License: GPL-3.0 Imports: 9 Imported by: 0

README

sshconfig

OpenSSH config Go parsing library and command line tool

Build Status GoDoc Go Report Card Coverage Status

Documentation

Index

Constants

View Source
const (
	Equals = delimiter('=')
	Space  = delimiter(' ')
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config interface {
	Find(Query) Config
}

func MustNew

func MustNew(file string) Config

func New

func New(file string) (Config, error)

func Read

func Read(source io.Reader) (Config, error)

type Hosts

type Hosts []host

func (Hosts) String

func (h Hosts) String() string

type Query

type Query []phrase

func NewQuery

func NewQuery(q string) Query

Directories

Path Synopsis
cmds

Jump to

Keyboard shortcuts

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