| 9 | ) |
| 10 | |
| 11 | type pool struct { |
| 12 | mutex *sync.Mutex |
| 13 | services []Service |
| 14 | lifecycles map[Service]Lifecycle |
| 15 | serviceStates map[Service]State |
| 16 | lifecycleFactory LifecycleFactory |
| 17 | running bool |
| 18 | startupComplete chan struct{} |
| 19 | stopComplete chan struct{} |
| 20 | lastError error |
| 21 | stopping bool |
| 22 | logger log.Logger |
| 23 | } |
| 24 | |
| 25 | func (p *pool) String() string { |
| 26 | return "Service Pool" |
nothing calls this directly
no outgoing calls
no test coverage detected