初始提交:短剧库源码(含转码优化 ultrafast)

This commit is contained in:
yvan
2026-09-17 19:09:08 +08:00
commit 07dc0f1059
247 changed files with 43242 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
package app
import (
"net/http"
)
func (a *UIApp) handleNetworkCheck(writer http.ResponseWriter, request *http.Request) {
if request.Method != http.MethodPost {
writeJSON(writer, http.StatusMethodNotAllowed, map[string]string{"error": "method not allowed"})
return
}
writeJSON(writer, http.StatusOK, map[string]any{"data": a.networkCheckResults(request.Context())})
}