Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllowListEntry ¶
type Challenge ¶
type Challenge struct { PaymentID uuid.UUID `db:"payment_id"` CreatedAt time.Time `db:"created_at"` Nonce string `db:"nonce"` }
func NewChallenge ¶
type Error ¶
type Error string
const ( ErrWalletNotWhitelisted Error = "model: wallet not whitelisted" ErrNotFound Error = "model: not found" ErrChallengeNotFound Error = "model: challenge not found" ErrChallengeExpired Error = "model: challenge expired" ErrNoRowsDeleted Error = "model: no rows deleted" ErrNotInserted Error = "model: not inserted" ErrNoWalletCustodian Error = "model: no linked wallet custodian" ErrInternalServer Error = "model: internal server error" ErrWalletNotFound Error = "model: wallet not found" )
Click to show internal directories.
Click to hide internal directories.