working commit

This commit is contained in:
2026-01-23 19:26:56 +02:00
parent 772657d9be
commit d704a76bee
10 changed files with 161 additions and 76 deletions
+5 -7
View File
@@ -4,13 +4,11 @@ import (
"fmt"
)
const (
PathServiceHello = "/service/hello"
)
var (
pathRegexp = `{path:[a-zA-Z_][\-a-zA-Z0-9_\/\.%~]+}`
fileOperPrefix = "/v3/file"
filepathRegexp = `{path:[a-zA-Z_][\-a-zA-Z0-9_\/\.%~]+}`
fileApiPrefix = `/v3/file`
PathFileExists = fmt.Sprintf("%s/%s", fileOperPrefix, pathRegexp)
FileExistsPath = fmt.Sprintf("%s/%s", fileApiPrefix, filepathRegexp)
ServiceHelloPath = "/service/hello"
)