storage

package
v0.0.0-...-57694d1 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("not found")

Functions

This section is empty.

Types

type CredentialStore

type CredentialStore interface {
	GetAll() ([]*model.Credential, error)
	GetById(common.Identifier) (*model.Credential, error)
	Save(*model.Credential) error
	Delete(common.Identifier) error
}

func NewDBStore

func NewDBStore(db *gorm.DB) CredentialStore

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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