[#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

@ -86,14 +86,14 @@ func WithHeadService(h *getsvc.Service) Option {
}
}
// WithClientCache returns option to set cache of remote node clients.
// WithSearchService returns option to set search service.
func WithSearchService(s *searchsvc.Service) Option {
return func(c *cfg) {
c.searcher = (*searchSvcWrapper)(s)
}
}
// WithClientOptions returns option to specify options of remote node clients.
// WithPutService returns option to specify put service.
func WithPutService(p *putsvc.Service) Option {
return func(c *cfg) {
c.placer = (*putSvcWrapper)(p)