establishing initial auth middleware and routes

This commit is contained in:
juancwu 2025-12-17 11:26:10 -05:00
commit 5c5ba78a32
6 changed files with 92 additions and 1 deletions

View file

@ -0,0 +1,14 @@
package handler
import "net/http"
type dashboardHandler struct{}
func NewDashboardHandler() *dashboardHandler {
return &dashboardHandler{}
}
func (h *dashboardHandler) DashboardPage(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(200)
w.Write([]byte("Dashboard page"))
}