Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidNetrc = errors.New("Invalid netrc")
ErrInvalidNetrc means there was an error parsing the netrc file
Functions ¶
This section is empty.
Types ¶
type Netrc ¶
type Netrc struct { Path string // contains filtered or unexported fields }
Netrc file
func ParseString ¶
ParseString behaves just like Parse, but can be used to parse netrc data without loading it from a file.
func (*Netrc) AddMachine ¶
AddMachine adds a machine
func (*Netrc) RemoveMachine ¶
RemoveMachine remove a machine
Click to show internal directories.
Click to hide internal directories.