Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TodoHandler ¶
type TodoHandler interface { Create(*gin.Context) Read(*gin.Context) Index(*gin.Context) Update(*gin.Context) Delete(*gin.Context) }
func NewHandler ¶
func NewHandler(todoService app.TodoService) TodoHandler
type UserHandler ¶
type UserHandler interface { CreateUser(http.ResponseWriter, *http.Request) ReadUser(http.ResponseWriter, *http.Request) ReadAllUsers(http.ResponseWriter, *http.Request) UpdateUser(http.ResponseWriter, *http.Request) DeleteUser(http.ResponseWriter, *http.Request) }
func NewUserHandler ¶
func NewUserHandler(userService app.UserService) UserHandler
Click to show internal directories.
Click to hide internal directories.