(conf servConf)
| 31 | } |
| 32 | |
| 33 | func newServ(conf servConf) *serv { |
| 34 | s := &serv{ |
| 35 | conf: conf, |
| 36 | } |
| 37 | s.Service = NewBasicService(s.startUp, s.run, s.shutDown) |
| 38 | return s |
| 39 | } |
| 40 | |
| 41 | func (s *serv) startUp(ctx context.Context) error { |
| 42 | select { |
no test coverage detected