15 lines
240 B
Go
15 lines
240 B
Go
package service
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
var (
|
|
filepathRegexp = `{path:[a-zA-Z_][\-a-zA-Z0-9_\/\.%~]+}`
|
|
fileApiPrefix = `/v3/file`
|
|
|
|
FileExistsPath = fmt.Sprintf("%s/%s", fileApiPrefix, filepathRegexp)
|
|
|
|
ServiceHelloPath = "/service/hello"
|
|
)
|