(product string, gid int)
| 47 | } |
| 48 | |
| 49 | func GroupPath(product string, gid int) string { |
| 50 | return filepath.Join(CodisDir, product, "group", fmt.Sprintf("group-%04d", gid)) |
| 51 | } |
| 52 | |
| 53 | func ProxyPath(product string, token string) string { |
| 54 | return filepath.Join(CodisDir, product, "proxy", fmt.Sprintf("proxy-%s", token)) |