handler

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: MIT Imports: 8 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) AuthView added in v0.0.3

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

func (*UserHandler) Login

func (h *UserHandler) Login(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)

Jump to

Keyboard shortcuts

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