memcred

package
v0.0.0-...-f6a5026 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InMemStore

type InMemStore map[string]string

func New

func New() InMemStore

func (InMemStore) Add

func (s InMemStore) Add(user, service, host string, port uint16, pwd string) error

func (InMemStore) AddBulk

func (s InMemStore) AddBulk(creds []string) error

func (InMemStore) Delete

func (s InMemStore) Delete(user, service, host string, port uint16) error

func (InMemStore) Get

func (s InMemStore) Get(user, service, host string, port uint16) (string, error)

func (InMemStore) Update

func (s InMemStore) Update(user, service, host string, port uint16, pwd string) error

Jump to

Keyboard shortcuts

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