Documentation ¶
Overview ¶
Package verificationdb contains verification related CRUD functionality.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store manages the set of APIs for verification database access.
func (*Store) Create ¶
func (s *Store) Create(vrf verification.Verificiation) error
Create inserts a new verification into the database.
func (*Store) QueryByID ¶
func (s *Store) QueryByID(id uuid.UUID) (verification.Verificiation, error)
func (*Store) Update ¶
func (s *Store) Update(vrf verification.Verificiation) error
func (*Store) WithinTran ¶
func (s *Store) WithinTran(fn func(verification.Storer) error) error
WithinTran runs passed function and do commit/rollback at the end.
Click to show internal directories.
Click to hide internal directories.