Documentation ¶
Index ¶
- type DBTX
- type FindUserByIdParams
- type InsertTokenParams
- type InsertUserParams
- type Queries
- func (q *Queries) DeletedTokenById(ctx context.Context, id uuid.UUID) error
- func (q *Queries) DeletedTokenByUserId(ctx context.Context, userID uuid.UUID) error
- func (q *Queries) FindTokenByToken(ctx context.Context, token string) (UserToken, error)
- func (q *Queries) FindTokenByUserId(ctx context.Context, userID uuid.UUID) (UserToken, error)
- func (q *Queries) FindUserByEmail(ctx context.Context, email string) (User, error)
- func (q *Queries) FindUserById(ctx context.Context, arg FindUserByIdParams) (User, error)
- func (q *Queries) GetTokenIsExpiredByUserId(ctx context.Context, userID uuid.UUID) (UserToken, error)
- func (q *Queries) InsertToken(ctx context.Context, arg InsertTokenParams) (uuid.UUID, error)
- func (q *Queries) InsertUser(ctx context.Context, arg InsertUserParams) (uuid.UUID, error)
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type User
- type UserToken
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InsertTokenParams ¶
type InsertUserParams ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) DeletedTokenById ¶
func (*Queries) DeletedTokenByUserId ¶
func (*Queries) FindTokenByToken ¶
func (*Queries) FindTokenByUserId ¶
func (*Queries) FindUserByEmail ¶
func (*Queries) FindUserById ¶
func (*Queries) GetTokenIsExpiredByUserId ¶
func (*Queries) InsertToken ¶
func (*Queries) InsertUser ¶
Click to show internal directories.
Click to hide internal directories.