Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthRepository ¶
type AuthRepository interface {
AuthenticateUser(authReq request.AuthenticateUserRequest) response.AppResponse
}
func NewAuthRepository ¶
func NewAuthRepository(db *sqlx.DB, responseCreator response.AppResponseCreator, validator *validator.Validate) AuthRepository
type PurchaseRepository ¶
type PurchaseRepository interface {
RegisterPurchase(request request.PurchaseRegisterRequest) response.AppResponse
VerificationPurchase(request request.PurchaseVerificationRequest) response.AppResponse
}
func NewPurchaseRepository ¶
func NewPurchaseRepository( db *sqlx.DB, responseCreator response.AppResponseCreator, validator *validator.Validate, ) PurchaseRepository
type RefreshRepository ¶
type RefreshRepository interface {
Refresh(request request.RefreshTokensRequest) response.AppResponse
}
func NewRefreshRepository ¶
func NewRefreshRepository( db *sqlx.DB, responseCreator response.AppResponseCreator, validator *validator.Validate) RefreshRepository
type RegistrationRepository ¶
type RegistrationRepository interface {
InsertUser(request request.UserRegistrationRequest) response.AppResponse
}
func NewUserRepository ¶
func NewUserRepository( db *sqlx.DB, responseCreator response.AppResponseCreator, validator *validator.Validate, ) RegistrationRepository
Click to show internal directories.
Click to hide internal directories.