Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Module("prober", fx.Provide( fx.Private, func(cfg config.Config) proberunner.RunnerOpts { return proberunner.RunnerOpts{ PollInterval: cfg.ProbePollSchedule, Concurrency: cfg.ProbeConcurrency, ProbeTimeout: cfg.ProbeTimeout, } }, func(cfg config.Config) portprober.Opts { return portprober.Opts{ Offsets: cfg.DiscoveryRevivalPorts, } }, ), fx.Provide( portprober.New, detailsprober.New, ), fx.Provide( fx.Private, proberunner.New, ), fx.Provide( func(portProber portprober.PortProber, detailsProber detailsprober.DetailsProber) probers.ForGoal { return probers.ForGoal{ probe.GoalPort: portProber, probe.GoalDetails: detailsProber, } }, ), fx.Provide(New), )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.