repository

package
v0.0.0-...-8da388b Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

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

Jump to

Keyboard shortcuts

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