Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type UserController ¶
type UserController interface { RegistrationUser(w http.ResponseWriter, r *http.Request) LoginUser(w http.ResponseWriter, r *http.Request) }
UserController interface for user registration and login
func NewUserController ¶
func NewUserController(userService service.UserService) UserController
NewUserController creates a new UserController
Click to show internal directories.
Click to hide internal directories.