Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountController ¶
type AccountController interface { Create(w http.ResponseWriter, r *http.Request) Fetch(w http.ResponseWriter, r *http.Request) GetBalance(w http.ResponseWriter, r *http.Request) }
AccountController is the interface that wraps http handle methods related to the accounts.
func NewAccountController ¶
func NewAccountController(accUC usecase.AccountUseCase) AccountController
NewAccountController instantiates a new account controller.
type AuthController ¶
type AuthController interface {
Login(w http.ResponseWriter, r *http.Request)
}
AuthController is the interface that wraps http handle methods related to authentication.
func NewAuthController ¶
func NewAuthController(authUC usecase.AuthUseCase) AuthController
NewAuthController instantiates a new auth controller.
type TransferController ¶
type TransferController interface { Create(w http.ResponseWriter, r *http.Request) Fetch(w http.ResponseWriter, r *http.Request) }
TransferController is the interface that wraps http handle methods related to the transfers.
func NewTransferController ¶
func NewTransferController(trfUC usecase.TransferUseCase, authUC usecase.AuthUseCase) TransferController
NewTransferController instantiates a new transfer controller.
Click to show internal directories.
Click to hide internal directories.