going-further/api/auth.go
2024-04-22 21:53:20 -04:00

19 lines
443 B
Go

package api
import (
"log/slog"
"net/http"
)
func getLoginHandleFunc(sessions SessionProvider, log *slog.Logger) func(w http.ResponseWriter, r *http.Request) {
return func(w http.ResponseWriter, r *http.Request) {
// login html page
}
}
func postLoginHandleFunc(sessions SessionProvider, log *slog.Logger) func(w http.ResponseWriter, r *http.Request) {
return func(w http.ResponseWriter, r *http.Request) {
// login html page
}
}