Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NotFoundFiles = []string{ "internal/template/base/base.html", "internal/template/page/404.html", "internal/template/static/header.html", "internal/template/assets/links.html", "internal/template/static/header.html", } InternalServerErrorFiles = []string{ "internal/template/base/base.html", "internal/template/page/500.html", "internal/template/assets/links.html", "internal/template/static/header.html", } )
Functions ¶
Types ¶
type UserHandler ¶
type UserHandler struct {
// contains filtered or unexported fields
}
func NewUserHandler ¶
func NewUserHandler(userService *service.UserService) *UserHandler
func (*UserHandler) Join ¶
func (h *UserHandler) Join(w http.ResponseWriter, r *http.Request)
func (*UserHandler) Profile ¶
func (h *UserHandler) Profile(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.