Back to godoc.org

Package netrc

v0.20.5
Latest Go to latest

The latest major version is .

Published: Jul 24, 2020 | License: Apache-2.0 | Module: github.com/bufbuild/buf

Overview

Package netrc contains functionality to work with netrc.

Index

type Machine

type Machine interface {
	// Empty for default machine.
	Name() string
	Login() string
	Password() string
	Account() string
}

Machine is a machine.

func GetMachineForName

func GetMachineForName(envContainer app.EnvContainer, name string) (_ Machine, retErr error)

GetMachineForName returns the Machine for the given name.

Returns nil if no such Machine.

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier