17 lines
247 B
Go
17 lines
247 B
Go
package service
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
const (
|
|
PathServiceHello = "/service/hello"
|
|
)
|
|
|
|
var (
|
|
pathRegexp = `{path:[a-zA-Z_][\-a-zA-Z0-9_\/\.%~]+}`
|
|
fileOperPrefix = "/v3/file"
|
|
|
|
PathFileExists = fmt.Sprintf("%s/%s", fileOperPrefix, pathRegexp)
|
|
)
|