Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcccountRespBody ¶
type AccountHandler ¶
type AccountHandler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(r chi.Router, usecase account.Service) *AccountHandler
Account routes
func (AccountHandler) CreateAccount ¶
func (h AccountHandler) CreateAccount(w http.ResponseWriter, r *http.Request)
func (AccountHandler) GetAccount ¶
func (h AccountHandler) GetAccount(w http.ResponseWriter, r *http.Request)
func (AccountHandler) ShowAccounts ¶
func (h AccountHandler) ShowAccounts(w http.ResponseWriter, r *http.Request)
type AccountReqBody ¶
Click to show internal directories.
Click to hide internal directories.