initial commit

This commit is contained in:
wt committed 2026-03-19 14:07:10 +07:00
commit 85d50ee958
26 files changed
+2146

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
package api
import "net/http"
func Extlinux(w http.ResponseWriter, req *http.Request) {
switch req.Method {
case "GET":
ExtlinuxRead(w, req)
case "POST":
ExtlinuxWrite(w, req)
default:
http.Error(w, "method not allowed", http.StatusMethodNotAllowed)
}
}