(path string)
| 461 | } |
| 462 | |
| 463 | func ensureProxyPathValid(path string) string { |
| 464 | if !strings.HasPrefix(path, "/") { |
| 465 | path = "/" + path |
| 466 | } |
| 467 | return path |
| 468 | } |
| 469 | |
| 470 | func parseResourceName(path string) (string, error) { |
| 471 | ss := strings.Split(path, "/") |