Versions in this module Expand all Collapse all v0 v0.1.3 Feb 21, 2024 Changes in this version + type CheckFidAppKeyExistsParams struct + AppKey annotations.Bytes + Fid uint64 + type CreateFidAppKeyParams struct + AppKey annotations.Bytes + Fid uint64 + type DBTX interface + ExecContext func(context.Context, string, ...interface{}) (sql.Result, error) + PrepareContext func(context.Context, string) (*sql.Stmt, error) + QueryContext func(context.Context, string, ...interface{}) (*sql.Rows, error) + QueryRowContext func(context.Context, string, ...interface{}) *sql.Row + type DeleteFidAppKeyParams struct + AppKey annotations.Bytes + Fid uint64 + type FidAppkey struct + AppKey annotations.Bytes + Fid uint64 + type Queries struct + func New(db DBTX) *Queries + func (q *Queries) CheckFidAppKeyExists(ctx context.Context, arg CheckFidAppKeyExistsParams) (bool, error) + func (q *Queries) CountUsers(ctx context.Context) (int64, error) + func (q *Queries) CreateFidAppKey(ctx context.Context, arg CreateFidAppKeyParams) (sql.Result, error) + func (q *Queries) CreateUser(ctx context.Context, fid uint64) (sql.Result, error) + func (q *Queries) DeleteFidAppKey(ctx context.Context, arg DeleteFidAppKeyParams) (sql.Result, error) + func (q *Queries) DeleteUser(ctx context.Context, fid uint64) (sql.Result, error) + func (q *Queries) GetFidAppKeys(ctx context.Context, fid uint64) ([]annotations.Bytes, error) + func (q *Queries) GetFidByAppKey(ctx context.Context, appKey annotations.Bytes) ([]uint64, error) + func (q *Queries) GetUserByFID(ctx context.Context, fid uint64) (uint64, error) + func (q *Queries) ListUsers(ctx context.Context) ([]uint64, error) + func (q *Queries) WithTx(tx *sql.Tx) *Queries + type User struct + Fid uint64