handler

package
v0.0.0-...-768a7c8 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2023 License: BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddPassword

func AddPassword(fs *flag.FlagSet, args []string) error

AddPassword add new password based on flags.

func EditPassword

func EditPassword(fs *flag.FlagSet, args []string) error

EditPassword edit existing password in vault.

func FindPassword

func FindPassword(fs *flag.FlagSet, args []string) error

FindPassword find password by matching the name.

func GeneratePassword

func GeneratePassword(fs *flag.FlagSet, args []string) error

GeneratePassword generates a password based on flags.

func ListPassword

func ListPassword(fs *flag.FlagSet, args []string) error

func RemovePassword

func RemovePassword(fs *flag.FlagSet, args []string) error

RemovePassword remove password from vault by name.

func ShowPassword

func ShowPassword(fs *flag.FlagSet, args []string) error

ShowPassword show existing password by name.

Types

type EmptyValueError

type EmptyValueError struct {
	Field string
}

EmptyValueError represents an error when a field is empty.

func (*EmptyValueError) Error

func (e *EmptyValueError) Error() string

Error returns the error message for EmptyValueError.

Jump to

Keyboard shortcuts

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