repository

package
v0.0.0-...-cff5d44 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountSqlRepo

type AccountSqlRepo struct {
	// contains filtered or unexported fields
}

func NewAccountSqlRepo

func NewAccountSqlRepo(db *sql.DB) *AccountSqlRepo

func (*AccountSqlRepo) FindByIbanAndOwner

func (r *AccountSqlRepo) FindByIbanAndOwner(ctx context.Context, t trace.Tracer, opts account.FindByIbanAndOwnerOpts) (*account.Account, error)

func (*AccountSqlRepo) FindById

func (*AccountSqlRepo) FindByUserIdAndId

func (*AccountSqlRepo) GetTxnAdapter

func (r *AccountSqlRepo) GetTxnAdapter() txn.Adapter

func (*AccountSqlRepo) ListByUserId

func (*AccountSqlRepo) Lock

func (r *AccountSqlRepo) Lock()

func (*AccountSqlRepo) Save

func (*AccountSqlRepo) Unlock

func (r *AccountSqlRepo) Unlock()

type SessionRedisRepo

type SessionRedisRepo struct {
	// contains filtered or unexported fields
}

func NewSessionRedisRepo

func NewSessionRedisRepo(db *redis.Client) *SessionRedisRepo

func (*SessionRedisRepo) Destroy

func (*SessionRedisRepo) Find

func (*SessionRedisRepo) FindAllByUser

func (s *SessionRedisRepo) FindAllByUser(ctx context.Context, t trace.Tracer, opts auth.FindAllByUserOpts) ([]*auth.Session, error)

func (*SessionRedisRepo) Lock

func (r *SessionRedisRepo) Lock()

func (*SessionRedisRepo) Save

func (*SessionRedisRepo) Unlock

func (r *SessionRedisRepo) Unlock()

type TransactionSqlRepo

type TransactionSqlRepo struct {
	// contains filtered or unexported fields
}

func NewTransactionSqlRepo

func NewTransactionSqlRepo(db *sql.DB) *TransactionSqlRepo

func (*TransactionSqlRepo) Filter

func (*TransactionSqlRepo) GetTxnAdapter

func (r *TransactionSqlRepo) GetTxnAdapter() txn.Adapter

func (*TransactionSqlRepo) Lock

func (r *TransactionSqlRepo) Lock()

func (*TransactionSqlRepo) Save

func (*TransactionSqlRepo) Unlock

func (r *TransactionSqlRepo) Unlock()

type UserSqlRepo

type UserSqlRepo struct {
	// contains filtered or unexported fields
}

func NewUserSqlRepo

func NewUserSqlRepo(db *sql.DB) *UserSqlRepo

func (*UserSqlRepo) FindByEmail

func (r *UserSqlRepo) FindByEmail(ctx context.Context, trc trace.Tracer, opts user.FindByEmailOpts) (*user.User, error)

func (*UserSqlRepo) FindById

func (r *UserSqlRepo) FindById(ctx context.Context, trc trace.Tracer, opts user.FindByIdOpts) (*user.User, error)

func (*UserSqlRepo) FindByToken

func (r *UserSqlRepo) FindByToken(ctx context.Context, trc trace.Tracer, opts user.FindByTokenOpts) (*user.User, error)

func (*UserSqlRepo) GetTxnAdapter

func (r *UserSqlRepo) GetTxnAdapter() txn.Adapter

func (*UserSqlRepo) IsExistsByEmail

func (r *UserSqlRepo) IsExistsByEmail(ctx context.Context, trc trace.Tracer, opts user.IsExistsByEmailOpts) (bool, error)

func (*UserSqlRepo) Lock

func (r *UserSqlRepo) Lock()

func (*UserSqlRepo) Save

func (r *UserSqlRepo) Save(ctx context.Context, trc trace.Tracer, opts user.SaveOpts) error

func (*UserSqlRepo) Unlock

func (r *UserSqlRepo) Unlock()

type VerifyRedisRepo

type VerifyRedisRepo struct {
	// contains filtered or unexported fields
}

func NewVerifyRedisRepo

func NewVerifyRedisRepo(db *redis.Client) *VerifyRedisRepo

func (*VerifyRedisRepo) Delete

func (*VerifyRedisRepo) Find

func (*VerifyRedisRepo) IsExists

func (r *VerifyRedisRepo) IsExists(ctx context.Context, trc trace.Tracer, opts auth.VerifyIsExistsOpts) (bool, error)

func (*VerifyRedisRepo) Lock

func (r *VerifyRedisRepo) Lock()

func (*VerifyRedisRepo) Save

func (*VerifyRedisRepo) Unlock

func (r *VerifyRedisRepo) Unlock()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL