modular split: move invoke, auth, utils, function CRUD handlers to separate files (2026-05-01)

This commit is contained in:
“Naeel”
2026-05-01 12:22:23 +04:00
parent 9995df60d6
commit f1b0369737
5 changed files with 148 additions and 511 deletions
+25
View File
@@ -0,0 +1,25 @@
package api
import (
"strings"
)
func normalizeFunctionTimeout(seconds int64) int64 {
// ...existing code...
}
func normalizeRoute(route string) string {
// ...existing code...
}
func normalizeMethods(in []string) []string {
// ...existing code...
}
func routeAllowsMethod(methods []string, method string) bool {
// ...existing code...
}
func appendUniqueMethods(dst []string, src []string) []string {
// ...existing code...
}