handler

package
v0.0.0-...-1dcb711 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2024 License: MIT Imports: 7 Imported by: 0

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

func Home

func Home(w http.ResponseWriter, r *http.Request)

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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL