Comment Comment by stirfish func specialHandler(w http.ResponseWriter, r *http.Request) { if time.Now().Weekday() == time.Tuesday { http.NotFound(w, r) return } fmt.Fprintln(w, "server made a decision") } Your server can make decisions however you program it to, you know? It's just software.Forgive the phone-posting. parent stirfish 5 months ago
Forgive the phone-posting.