Documentation ¶
Index ¶
- type DBTX
- type GetOnlyEncryptionKeyRow
- type Querier
- type Queries
- func (q *Queries) CreateOnlyEncryptionKey(ctx context.Context, key []byte) error
- func (q *Queries) GetOnlyEncryptionKey(ctx context.Context) (GetOnlyEncryptionKeyRow, error)
- func (q *Queries) UpdateEncryptionVerification(ctx context.Context, verifyTimeline api.OptionalEncryptedTimelineColumn, ...) error
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetOnlyEncryptionKeyRow ¶
type GetOnlyEncryptionKeyRow struct { Key []byte VerifyTimeline api.OptionalEncryptedTimelineColumn VerifyAsync api.OptionalEncryptedAsyncColumn }
type Querier ¶
type Querier interface { CreateOnlyEncryptionKey(ctx context.Context, key []byte) error GetOnlyEncryptionKey(ctx context.Context) (GetOnlyEncryptionKeyRow, error) UpdateEncryptionVerification(ctx context.Context, verifyTimeline api.OptionalEncryptedTimelineColumn, verifyAsync api.OptionalEncryptedAsyncColumn) error }
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateOnlyEncryptionKey ¶
func (*Queries) GetOnlyEncryptionKey ¶
func (q *Queries) GetOnlyEncryptionKey(ctx context.Context) (GetOnlyEncryptionKeyRow, error)
func (*Queries) UpdateEncryptionVerification ¶
func (q *Queries) UpdateEncryptionVerification(ctx context.Context, verifyTimeline api.OptionalEncryptedTimelineColumn, verifyAsync api.OptionalEncryptedAsyncColumn) error
Click to show internal directories.
Click to hide internal directories.