Documentation ¶
Index ¶
- type CreateParams
- type DBTX
- type Querier
- type Queries
- func (q *Queries) Create(ctx context.Context, arg CreateParams) (*Session, error)
- func (q *Queries) Delete(ctx context.Context, id uuid.UUID) error
- func (q *Queries) Get(ctx context.Context, id uuid.UUID) (*Session, error)
- func (q *Queries) SetExpires(ctx context.Context, arg SetExpiresParams) (*Session, error)
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type Session
- type SetExpiresParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateParams ¶
type CreateParams struct { UserID uuid.UUID Expires pgtype.Timestamptz }
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) SetExpires ¶
type SetExpiresParams ¶
type SetExpiresParams struct { Expires pgtype.Timestamptz ID uuid.UUID }
Click to show internal directories.
Click to hide internal directories.