Documentation ¶
Index ¶
- type SQLite
- func (s SQLite) Create(db utildb.DB, secret secretify.Secret) (secretify.Secret, error)
- func (s SQLite) Delete(db utildb.DB, identifier string) error
- func (s SQLite) DeleteExpired(db utildb.DB) error
- func (s SQLite) ViewAllExpired(db utildb.DB) (secrets []secretify.Secret, err error)
- func (s SQLite) ViewByIdentifier(db utildb.DB, identifier string) (secretify.Secret, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQLite ¶
type SQLite struct{}
SQLite represents the client for secret table
func NewSQLiteSecretRepository ¶
func NewSQLiteSecretRepository() *SQLite
NewSQLiteSecretRepository creates a new instance of SQLite
func (SQLite) DeleteExpired ¶
DeleteExpired deletes all expired secrets
func (SQLite) ViewAllExpired ¶
ViewAllExpired returns all expired secrets
Click to show internal directories.
Click to hide internal directories.