Documentation ¶
Index ¶
- Variables
- type Config
- type Index
- type SigningRecordsIterator
- type Store
- func (s *Store) AddCloseFunc(f func())
- func (s *Store) Clear(ctx context.Context) error
- func (s *Store) ClearTable(ctx context.Context) error
- func (s *Store) Close(_ context.Context) error
- func (s *Store) CreateSigningRecord(ctx context.Context, signingRecord *store.SigningRecord) error
- func (s *Store) DeleteNonDeviceExpiredRecords(_ context.Context, _ time.Time) (int64, error)
- func (s *Store) DeleteSigningRecords(ctx context.Context, owner string, query *store.DeleteSigningRecordsQuery) (int64, error)
- func (s *Store) LoadSigningRecords(ctx context.Context, owner string, query *store.SigningRecordsQuery, ...) error
- func (s *Store) Table() string
- func (s *Store) UpdateSigningRecord(ctx context.Context, signingRecord *store.SigningRecord) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCannotRemoveSigningRecord = errors.New("cannot remove signing record")
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Embedded cqldb.Config `yaml:",inline" json:",inline"` Table string `yaml:"table" json:"table"` }
Config provides Mongo DB configuration options
type SigningRecordsIterator ¶
type SigningRecordsIterator struct {
// contains filtered or unexported fields
}
func (*SigningRecordsIterator) Err ¶
func (i *SigningRecordsIterator) Err() error
func (*SigningRecordsIterator) Next ¶
func (i *SigningRecordsIterator) Next(_ context.Context, s *store.SigningRecord) bool
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store implements an Store for cqldb.
func (*Store) AddCloseFunc ¶
func (s *Store) AddCloseFunc(f func())
func (*Store) ClearTable ¶
Clear documents in collections, but don't drop the database or the collections
func (*Store) CreateSigningRecord ¶
func (*Store) DeleteNonDeviceExpiredRecords ¶
func (*Store) DeleteSigningRecords ¶
func (*Store) LoadSigningRecords ¶
func (s *Store) LoadSigningRecords(ctx context.Context, owner string, query *store.SigningRecordsQuery, h store.LoadSigningRecordsFunc) error
func (*Store) UpdateSigningRecord ¶
Click to show internal directories.
Click to hide internal directories.