Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendError ¶
type BackendError struct {
Message string
}
BackendError is an error to tell the user something went wrong processing the backend storage.
func (BackendError) Error ¶
func (e BackendError) Error() string
type Namespace ¶
Namespace represents a Namespace "category".
func (*Namespace) DeleteAccount ¶
DeleteAccount removes a specific Account from the Namespace.
type NotFoundError ¶
NotFoundError is an error to tell the user the requested entity is not there.
func (NotFoundError) Error ¶
func (e NotFoundError) Error() string
type Storage ¶
Storage structure represents the credential storage.
func PrepareStorage ¶
PrepareStorage loads, decrypt and parse the Storage. If the storage file does not exists it creates one.
func (*Storage) DeleteNamespace ¶
DeleteNamespace removes a specific namespace from the Storage.
func (*Storage) FindNamespace ¶
FindNamespace returns with a namespace if the namespace does not exist error is not nil.
Click to show internal directories.
Click to hide internal directories.