storage

package
v0.0.0-...-843d269 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 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