Start sets value of given name to true in the pool.
(name string)
| 22 | |
| 23 | // Start sets value of given name to true in the pool. |
| 24 | func (p *StatusTable) Start(name string) { |
| 25 | p.Lock() |
| 26 | defer p.Unlock() |
| 27 | |
| 28 | p.pool[name] = true |
| 29 | } |
| 30 | |
| 31 | // Stop sets value of given name to false in the pool. |
| 32 | func (p *StatusTable) Stop(name string) { |