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
Click to show internal directories.
Click to hide internal directories.