Documentation
¶
Index ¶
- type DBTX
- type GasAuthApiKey
- type InsertKeyParams
- type Queries
- func (q *Queries) GetKeyByHash(ctx context.Context, keyHash string) (*GasAuthApiKey, error)
- func (q *Queries) HardDeleteKeyByID(ctx context.Context, id string) error
- func (q *Queries) HardDeleteKeysBySubject(ctx context.Context, subject string) error
- func (q *Queries) InsertKey(ctx context.Context, arg *InsertKeyParams) error
- func (q *Queries) ListAllKeysBySubject(ctx context.Context, subject string) ([]*GasAuthApiKey, error)
- func (q *Queries) ListKeysBySubject(ctx context.Context, subject string) ([]*GasAuthApiKey, error)
- func (q *Queries) SoftDeleteKeyByID(ctx context.Context, arg *SoftDeleteKeyByIDParams) error
- func (q *Queries) SoftDeleteKeysBySubject(ctx context.Context, arg *SoftDeleteKeysBySubjectParams) error
- func (q *Queries) UpdateLastUsed(ctx context.Context, arg *UpdateLastUsedParams) error
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type SoftDeleteKeyByIDParams
- type SoftDeleteKeysBySubjectParams
- type UpdateLastUsedParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GasAuthApiKey ¶
type InsertKeyParams ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) GetKeyByHash ¶
func (*Queries) HardDeleteKeyByID ¶
func (*Queries) HardDeleteKeysBySubject ¶
func (*Queries) InsertKey ¶
func (q *Queries) InsertKey(ctx context.Context, arg *InsertKeyParams) error
func (*Queries) ListAllKeysBySubject ¶
func (*Queries) ListKeysBySubject ¶
func (*Queries) SoftDeleteKeyByID ¶
func (q *Queries) SoftDeleteKeyByID(ctx context.Context, arg *SoftDeleteKeyByIDParams) error
func (*Queries) SoftDeleteKeysBySubject ¶
func (q *Queries) SoftDeleteKeysBySubject(ctx context.Context, arg *SoftDeleteKeysBySubjectParams) error
func (*Queries) UpdateLastUsed ¶
func (q *Queries) UpdateLastUsed(ctx context.Context, arg *UpdateLastUsedParams) error
type SoftDeleteKeyByIDParams ¶
type UpdateLastUsedParams ¶
Click to show internal directories.
Click to hide internal directories.