(globals map[string]interface{}, cfg []config.Node)
| 86 | } |
| 87 | |
| 88 | func New(globals map[string]interface{}, cfg []config.Node) (*MsgPipeline, error) { |
| 89 | parsedCfg, err := parseMsgPipelineRootCfg(globals, cfg) |
| 90 | return &MsgPipeline{ |
| 91 | msgpipelineCfg: parsedCfg, |
| 92 | Resolver: dns.DefaultResolver(), |
| 93 | Log: log.DefaultLogger.Sublogger("msgpipeline"), |
| 94 | }, err |
| 95 | } |
| 96 | |
| 97 | func (d *MsgPipeline) RunEarlyChecks(ctx context.Context, state *module.ConnState) error { |
| 98 | eg, checkCtx := errgroup.WithContext(ctx) |
no test coverage detected