start setting up auth handler

This commit is contained in:
juancwu 2025-12-15 21:50:54 -05:00
commit 979a415b95
4 changed files with 62 additions and 0 deletions

15
internal/handler/auth.go Normal file
View file

@ -0,0 +1,15 @@
package handler
import "net/http"
type authHandler struct {
}
func NewAuthHandler() *authHandler {
return &authHandler{}
}
func (h *authHandler) AuthPage(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusOK)
w.Write([]byte("200 OK"))
}