(product string, sid int)
| 35 | } |
| 36 | |
| 37 | func SlotPath(product string, sid int) string { |
| 38 | return filepath.Join(CodisDir, product, "slots", fmt.Sprintf("slot-%04d", sid)) |
| 39 | } |
| 40 | |
| 41 | func GroupDir(product string) string { |
| 42 | return filepath.Join(CodisDir, product, "group") |