Documentation ¶
Index ¶
- type DBTX
- type GetUserByTokenParams
- type InsertUserParams
- type InsertUserTokenParams
- type Queries
- func (q *Queries) GetUserByEmail(ctx context.Context, email string) (*User, error)
- func (q *Queries) GetUserByToken(ctx context.Context, arg GetUserByTokenParams) (*User, error)
- func (q *Queries) InsertUser(ctx context.Context, arg InsertUserParams) (*User, error)
- func (q *Queries) InsertUserToken(ctx context.Context, arg InsertUserTokenParams) (*UserToken, error)
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type User
- type UserToken
- type WebauthnCredential
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetUserByTokenParams ¶
type InsertUserParams ¶
type InsertUserTokenParams ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) GetUserByEmail ¶
func (*Queries) GetUserByToken ¶
func (*Queries) InsertUser ¶
func (*Queries) InsertUserToken ¶
type WebauthnCredential ¶
type WebauthnCredential struct { ID int64 WebauthnID []byte UserID int64 PublicKey []byte AttestationType *string Transport []string UserPresent bool UserVerified bool BackupEligible bool BackupState bool AuthenticatorAAGUID []byte AuthenticatorSignCount int32 AuthenticatorCloneWarning bool AuthenticatorAttachment *string InsertedAt pgtype.Timestamp UpdatedAt pgtype.Timestamp }
Click to show internal directories.
Click to hide internal directories.