Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RegistrationRequest ¶
type User ¶
type UserHandler ¶
type UserHandler interface { Routes() chi.Router Registration(w http.ResponseWriter, r *http.Request) Verify(w http.ResponseWriter, r *http.Request) }
func NewUserHandler ¶
func NewUserHandler(r chi.Router, db *sqlx.DB) UserHandler
type UserService ¶
type UserService interface { Registration(firstName string, lastName string, email string, password string) error Verify(email string) error }
func NewUserService ¶
func NewUserService(db *sqlx.DB) UserService
Click to show internal directories.
Click to hide internal directories.