Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserHandler ¶
type UserHandler interface { CreateUser(w http.ResponseWriter, r *http.Request, _ httprouter.Params) GetAllUsers(w http.ResponseWriter, r *http.Request, _ httprouter.Params) GetUser(w http.ResponseWriter, r *http.Request, ps httprouter.Params) }
UserHandler routerのHTTPハンドラー処理
func NewUserHandler ¶
func NewUserHandler(uc controllers.UserController, log logs.Logger) UserHandler
NewUserHandler routerのHTTPハンドラー処理。adapter/controllersを呼び出す [この関数をwireでDI]
Click to show internal directories.
Click to hide internal directories.