(product string)
| 31 | } |
| 32 | |
| 33 | func LockPath(product string) string { |
| 34 | return filepath.Join(CodisDir, product, "topom") |
| 35 | } |
| 36 | |
| 37 | func SlotPath(product string, sid int) string { |
| 38 | return filepath.Join(CodisDir, product, "slots", fmt.Sprintf("slot-%04d", sid)) |