Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountHandler ¶
type AccountHandler struct { Usecase usecase.AccountInputPort Presenter *presenter.AccountPresenter }
func NewAccountHandler ¶
func NewAccountHandler(uc usecase.AccountInputPort, pr *presenter.AccountPresenter) *AccountHandler
func (*AccountHandler) Delete ¶
func (u *AccountHandler) Delete(w http.ResponseWriter, r *http.Request)
func (*AccountHandler) Get ¶
func (u *AccountHandler) Get(w http.ResponseWriter, r *http.Request)
func (*AccountHandler) List ¶
func (u *AccountHandler) List(w http.ResponseWriter, r *http.Request)
func (*AccountHandler) Post ¶
func (u *AccountHandler) Post(w http.ResponseWriter, r *http.Request)
type AccountJsonView ¶
type AccountJsonView struct {
// contains filtered or unexported fields
}
func (*AccountJsonView) ErrorView ¶
func (j *AccountJsonView) ErrorView(err error)
func (*AccountJsonView) View ¶
func (j *AccountJsonView) View(account *presenter.AccountViewModel)
func (*AccountJsonView) ViewModels ¶
func (j *AccountJsonView) ViewModels(account []*presenter.AccountViewModel)
func (*AccountJsonView) ViewNoBody ¶
func (j *AccountJsonView) ViewNoBody()
Click to show internal directories.
Click to hide internal directories.