Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWalletHandler ¶
func NewWalletHandler(walletRoute fiber.Router, walletService WalletService)
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) GetWallets ¶
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func NewWalletRepository ¶
func NewWalletRepository(db *gorm.DB) *Repository
func (*Repository) FindAll ¶
func (r *Repository) FindAll() (*[]Wallet, error)
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewWalletService ¶
func NewWalletService(walletRepository WalletRepository) *Service
func (*Service) GetUserWallets ¶
type WalletRepository ¶
type WalletService ¶
Click to show internal directories.
Click to hide internal directories.