handler

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseHandler

type BaseHandler struct{}

func NewBaseHandler

func NewBaseHandler() BaseHandler

func (*BaseHandler) DashboardView

func (*BaseHandler) DashboardView(w http.ResponseWriter, r *http.Request)

func (*BaseHandler) LandingView

func (*BaseHandler) LandingView(w http.ResponseWriter, r *http.Request)

type UserHandler

type UserHandler struct {
	// contains filtered or unexported fields
}

func NewUserHandler

func NewUserHandler(service *services.UserService) *UserHandler

func (*UserHandler) Login

func (h *UserHandler) Login(w http.ResponseWriter, r *http.Request)

func (*UserHandler) LoginView

func (h *UserHandler) LoginView(w http.ResponseWriter, r *http.Request)

func (*UserHandler) Logout

func (h *UserHandler) Logout(w http.ResponseWriter, r *http.Request)

func (*UserHandler) Register

func (h *UserHandler) Register(w http.ResponseWriter, r *http.Request)

func (*UserHandler) RegisterView

func (h *UserHandler) RegisterView(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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