creds

package
v0.0.0-...-0376054 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(protocol, addr string, r io.Reader, w io.Writer) (string, string, error)

Create new pair of credentials, requires user input. Returns login and password as a result.

func Get

func Get(protocol, addr string) (string, string, error)

Get login and password from git credentials file in user directory.

func Put

func Put(protocol, addr, login, pass string) error

Save/Update login and password in git credentials file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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