Documentation
¶
Overview ¶
Package netrc parses .netrc files containing network credentials.
https://www.gnu.org/software/inetutils/manual/html_node/The-_002enetrc-file.html
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Machine ¶
type Machine struct {
Machine string
Login string
Password string
Account string
Macros map[string]string
}
Machine describes a "machine" or "default" entry in a .netrc file.
func ReadMachine ¶
ReadMachine reads and parses the specified .netrc file and returns the named machine. A nil pointer and nil error are returned if the machine is not found.
Click to show internal directories.
Click to hide internal directories.