[#643] pkg: Sync method names and commentaries to them

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2021-06-23 16:29:46 +03:00 committed by Alex Vanin
parent 25391111ad
commit 48827f42d3
33 changed files with 41 additions and 41 deletions

View file

@ -90,14 +90,14 @@ func WithMaxPDPSleepInterval(dur time.Duration) Option {
}
}
// WithPDPWorkerPool returns option to set worker pool for PDP pairs processing.
// WithPDPWorkerPoolGenerator returns option to set worker pool for PDP pairs processing.
func WithPDPWorkerPoolGenerator(f func() (util.WorkerPool, error)) Option {
return func(c *cfg) {
c.pdpPoolGenerator = f
}
}
// WithPoRWorkerPool returns option to set worker pool for PoR SG processing.
// WithPoRWorkerPoolGenerator returns option to set worker pool for PoR SG processing.
func WithPoRWorkerPoolGenerator(f func() (util.WorkerPool, error)) Option {
return func(c *cfg) {
c.porPoolGenerator = f