Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrPermissionDenied = errors.New("permission denied") ErrNotFound = errors.New("entity not found") ErrIdemKeyParamsMismatch = errors.New("params mismatch") ErrIdemKeyRequestInProgress = errors.New("request in progress") ErrIdemKeyUnknownRecoveryPoint = errors.New("unknown recovery point") ErrPaymentProvider = errors.New("card error from payment processor") ErrPaymentProviderGeneric = errors.New("generic error from payment processor") ErrInternalError = errors.New("internal error") )
Functions ¶
This section is empty.
Types ¶
type AuditRecord ¶
type IdempotencyKey ¶
type IdempotencyKey struct { ID int64 CreatedAt time.Time `bun:",nullzero,notnull,default:current_timestamp"` IdempotencyKey string LastRunAt time.Time LockedAt *time.Time RequestMethod string RequestParams json.RawMessage RequestPath string ResponseCode *idempotency.ResponseCode ResponseBody *idempotency.ResponseBody RecoveryPoint idempotency.RecoveryPoint UserID int64 User *User `json:"-" bun:"-"` }
type StagedJob ¶
type StagedJob struct { ID int64 JobName stagedjob.JobName JobArgs json.RawMessage }
type UserCtxKeyType ¶
type UserCtxKeyType string
const (
UserCtxKey UserCtxKeyType = "user-ctx-key"
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.