Documentation ¶
Index ¶
- type DBTX
- type ExternalIdentity
- type Identity
- type Querier
- type Queries
- func (q *Queries) GetExternalIdentityUUIDs(ctx context.Context) ([]uuid.UUID, error)
- func (q *Queries) GetIdentityUUIDs(ctx context.Context) ([]uuid.UUID, error)
- func (q *Queries) LoadActiveFlag(ctx context.Context, uid uuid.UUID) (bool, error)
- func (q *Queries) LoadActiveFlagForUpdate(ctx context.Context, uid uuid.UUID) (bool, error)
- func (q *Queries) LoadAuthForUpdate(ctx context.Context, uid uuid.UUID) (string, error)
- func (q *Queries) LoadExternalIdentity(ctx context.Context, uid uuid.UUID) (ExternalIdentity, error)
- func (q *Queries) LoadIdentity(ctx context.Context, uid uuid.UUID) (Identity, error)
- func (q *Queries) LoadSignatureForUpdate(ctx context.Context, uid uuid.UUID) ([]byte, error)
- func (q *Queries) StoreActiveFlag(ctx context.Context, arg StoreActiveFlagParams) error
- func (q *Queries) StoreAuth(ctx context.Context, arg StoreAuthParams) error
- func (q *Queries) StoreExternalIdentity(ctx context.Context, arg StoreExternalIdentityParams) error
- func (q *Queries) StoreIdentity(ctx context.Context, arg StoreIdentityParams) error
- func (q *Queries) StoreSignature(ctx context.Context, arg StoreSignatureParams) error
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type StoreActiveFlagParams
- type StoreAuthParams
- type StoreExternalIdentityParams
- type StoreIdentityParams
- type StoreSignatureParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExternalIdentity ¶
type Querier ¶
type Querier interface { GetExternalIdentityUUIDs(ctx context.Context) ([]uuid.UUID, error) GetIdentityUUIDs(ctx context.Context) ([]uuid.UUID, error) LoadActiveFlag(ctx context.Context, uid uuid.UUID) (bool, error) LoadActiveFlagForUpdate(ctx context.Context, uid uuid.UUID) (bool, error) LoadAuthForUpdate(ctx context.Context, uid uuid.UUID) (string, error) LoadExternalIdentity(ctx context.Context, uid uuid.UUID) (ExternalIdentity, error) LoadIdentity(ctx context.Context, uid uuid.UUID) (Identity, error) LoadSignatureForUpdate(ctx context.Context, uid uuid.UUID) ([]byte, error) StoreActiveFlag(ctx context.Context, arg StoreActiveFlagParams) error StoreAuth(ctx context.Context, arg StoreAuthParams) error StoreExternalIdentity(ctx context.Context, arg StoreExternalIdentityParams) error StoreIdentity(ctx context.Context, arg StoreIdentityParams) error StoreSignature(ctx context.Context, arg StoreSignatureParams) error }
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) GetExternalIdentityUUIDs ¶
func (*Queries) GetIdentityUUIDs ¶
func (*Queries) LoadActiveFlag ¶
func (*Queries) LoadActiveFlagForUpdate ¶
func (*Queries) LoadAuthForUpdate ¶
func (*Queries) LoadExternalIdentity ¶
func (*Queries) LoadIdentity ¶
func (*Queries) LoadSignatureForUpdate ¶
func (*Queries) StoreActiveFlag ¶
func (q *Queries) StoreActiveFlag(ctx context.Context, arg StoreActiveFlagParams) error
func (*Queries) StoreAuth ¶
func (q *Queries) StoreAuth(ctx context.Context, arg StoreAuthParams) error
func (*Queries) StoreExternalIdentity ¶
func (q *Queries) StoreExternalIdentity(ctx context.Context, arg StoreExternalIdentityParams) error
func (*Queries) StoreIdentity ¶
func (q *Queries) StoreIdentity(ctx context.Context, arg StoreIdentityParams) error
func (*Queries) StoreSignature ¶
func (q *Queries) StoreSignature(ctx context.Context, arg StoreSignatureParams) error
type StoreActiveFlagParams ¶
type StoreAuthParams ¶
type StoreIdentityParams ¶
type StoreSignatureParams ¶
Click to show internal directories.
Click to hide internal directories.