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