ribbit/endpoints_public.go

19 lines
309 B
Go
Raw Permalink Normal View History

2018-04-26 11:53:03 +00:00
package main
import (
"net/http"
)
func handleRequest(w http.ResponseWriter, req *http.Request) {
2019-01-10 16:39:42 +00:00
page := initPageData(w, req)
2018-04-26 11:53:03 +00:00
2019-01-10 16:39:42 +00:00
//vars := mux.Vars(req)
//var fOk, uidOk bool
//var f, uid string
//f, fOk = vars["function"]
//uid, uidOk = vars[""]
if !page.LoggedIn {
handleUserLoginForm(page)
2018-04-26 11:53:03 +00:00
}
}