Documentation ¶
Index ¶
- type ApiKey
- type DBTX
- type DeleteApiKeyParams
- type InsertApiKeyParams
- type InsertUserParams
- type Queries
- func (q *Queries) ApiKeyExists(ctx context.Context, key string) (bool, error)
- func (q *Queries) DeleteApiKey(ctx context.Context, arg DeleteApiKeyParams) error
- func (q *Queries) FindByApiKey(ctx context.Context, key string) (ApiKey, error)
- func (q *Queries) FindByEmail(ctx context.Context, emailHash string) (User, error)
- func (q *Queries) FindByUserId(ctx context.Context, userID string) ([]ApiKey, error)
- func (q *Queries) InsertApiKey(ctx context.Context, arg InsertApiKeyParams) (string, error)
- func (q *Queries) InsertUser(ctx context.Context, arg InsertUserParams) error
- func (q *Queries) UpdateVerifiedAt(ctx context.Context, emailHash string) error
- func (q *Queries) UserExists(ctx context.Context, id string) (bool, error)
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteApiKeyParams ¶
type InsertApiKeyParams ¶
type InsertUserParams ¶
type InsertUserParams struct { Email string EmailHash string Password string FirstName sql.NullString LastName sql.NullString }
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) ApiKeyExists ¶
func (*Queries) DeleteApiKey ¶
func (q *Queries) DeleteApiKey(ctx context.Context, arg DeleteApiKeyParams) error
func (*Queries) FindByApiKey ¶
func (*Queries) FindByEmail ¶
func (*Queries) FindByUserId ¶
func (*Queries) InsertApiKey ¶
func (*Queries) InsertUser ¶
func (q *Queries) InsertUser(ctx context.Context, arg InsertUserParams) error
func (*Queries) UpdateVerifiedAt ¶
func (*Queries) UserExists ¶
Click to show internal directories.
Click to hide internal directories.