github.com/Ptt-official-app/go-bbs@v0.12.0/serverlet/route_classes.go (about) 1 package main 2 3 import ( 4 // "github.com/Ptt-official-app/go-bbs" 5 // "github.com/Ptt-official-app/go-bbs/crypt" 6 // "log" 7 "net/http" 8 // "strings" 9 ) 10 11 func routeClasses(w http.ResponseWriter, r *http.Request) { 12 if r.Method == "GET" { 13 getClasses(w, r) 14 return 15 } 16 17 } 18 19 func getClasses(w http.ResponseWriter, r *http.Request) { 20 21 w.WriteHeader(http.StatusNotImplemented) 22 23 }