Files
up_go/api/Extlinux.go
T
2026-03-19 14:07:10 +07:00

15 lines
267 B
Go

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)
}
}