GetPriority returns the loadpoint priority
()
| 223 | |
| 224 | // GetPriority returns the loadpoint priority |
| 225 | func (lp *Loadpoint) GetPriority() int { |
| 226 | lp.RLock() |
| 227 | defer lp.RUnlock() |
| 228 | return lp.priority |
| 229 | } |
| 230 | |
| 231 | // setPriority sets the loadpoint priority (no mutex) |
| 232 | func (lp *Loadpoint) setPriority(prio int) { |
no test coverage detected