Documentation ¶
Index ¶
- Variables
- func DeleteAll(ctx context.Context, db *DB) (int64, error)
- type ConsumedSerial
- type ConsumedSerial_Action_Field
- type ConsumedSerial_BucketName_Field
- type ConsumedSerial_ExpiresAt_Field
- type ConsumedSerial_ProjectId_Field
- type ConsumedSerial_SerialNumber_Field
- type ConsumedSerial_Settled_Field
- type ConsumedSerial_StorageNodeId_Field
- type ConsumedSerial_Update_Fields
- type DB
- type DBMethods
- type Error
- type ErrorCode
- type Methods
- type Paged_ConsumedSerial_By_ExpiresAt_Greater_Continuation
- type Tx
- type TxMethods
Constants ¶
This section is empty.
Variables ¶
View Source
var ( WrapErr = func(err *Error) error { return err } Logger func(format string, args ...any) ShouldRetry func(driver string, err error) bool )
View Source
var SQLite3JournalMode = "WAL"
SQLite3JournalMode controls the journal_mode pragma for all new connections. Since it is read without a mutex, it must be changed to the value you want before any Open calls.
Functions ¶
Types ¶
type ConsumedSerial ¶
type ConsumedSerial_Action_Field ¶
type ConsumedSerial_Action_Field struct {
// contains filtered or unexported fields
}
func ConsumedSerial_Action ¶
func ConsumedSerial_Action(v uint) ConsumedSerial_Action_Field
type ConsumedSerial_BucketName_Field ¶
type ConsumedSerial_BucketName_Field struct {
// contains filtered or unexported fields
}
func ConsumedSerial_BucketName ¶
func ConsumedSerial_BucketName(v []byte) ConsumedSerial_BucketName_Field
type ConsumedSerial_ExpiresAt_Field ¶
type ConsumedSerial_ExpiresAt_Field struct {
// contains filtered or unexported fields
}
func ConsumedSerial_ExpiresAt ¶
func ConsumedSerial_ExpiresAt(v time.Time) ConsumedSerial_ExpiresAt_Field
type ConsumedSerial_ProjectId_Field ¶
type ConsumedSerial_ProjectId_Field struct {
// contains filtered or unexported fields
}
func ConsumedSerial_ProjectId ¶
func ConsumedSerial_ProjectId(v []byte) ConsumedSerial_ProjectId_Field
type ConsumedSerial_SerialNumber_Field ¶
type ConsumedSerial_SerialNumber_Field struct {
// contains filtered or unexported fields
}
func ConsumedSerial_SerialNumber ¶
func ConsumedSerial_SerialNumber(v []byte) ConsumedSerial_SerialNumber_Field
type ConsumedSerial_Settled_Field ¶
type ConsumedSerial_Settled_Field struct {
// contains filtered or unexported fields
}
func ConsumedSerial_Settled ¶
func ConsumedSerial_Settled(v uint64) ConsumedSerial_Settled_Field
type ConsumedSerial_StorageNodeId_Field ¶
type ConsumedSerial_StorageNodeId_Field struct {
// contains filtered or unexported fields
}
func ConsumedSerial_StorageNodeId ¶
func ConsumedSerial_StorageNodeId(v []byte) ConsumedSerial_StorageNodeId_Field
type ConsumedSerial_Update_Fields ¶
type ConsumedSerial_Update_Fields struct { }
type DB ¶
type Methods ¶
type Methods interface { CreateNoReturn_ConsumedSerial(ctx context.Context, consumed_serial_expires_at ConsumedSerial_ExpiresAt_Field, consumed_serial_storage_node_id ConsumedSerial_StorageNodeId_Field, consumed_serial_project_id ConsumedSerial_ProjectId_Field, consumed_serial_bucket_name ConsumedSerial_BucketName_Field, consumed_serial_action ConsumedSerial_Action_Field, consumed_serial_serial_number ConsumedSerial_SerialNumber_Field, consumed_serial_settled ConsumedSerial_Settled_Field) ( err error) Paged_ConsumedSerial_By_ExpiresAt_Greater(ctx context.Context, consumed_serial_expires_at_greater ConsumedSerial_ExpiresAt_Field, limit int, start *Paged_ConsumedSerial_By_ExpiresAt_Greater_Continuation) ( rows []*ConsumedSerial, next *Paged_ConsumedSerial_By_ExpiresAt_Greater_Continuation, err error) }
type Paged_ConsumedSerial_By_ExpiresAt_Greater_Continuation ¶
type Paged_ConsumedSerial_By_ExpiresAt_Greater_Continuation struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.