From fda1fd9d8fd38eba2754c73337fe1b90e36cfed2 Mon Sep 17 00:00:00 2001 From: Anton Korotkov <106995168+korotkov-aerospike@users.noreply.github.com> Date: Sun, 11 Aug 2024 11:01:27 +0300 Subject: [PATCH] Update client.go Co-authored-by: Eugene R. --- client.go | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/client.go b/client.go index bfdddb14..ae0732c3 100644 --- a/client.go +++ b/client.go @@ -120,10 +120,13 @@ func WithScanLimiter(sem *semaphore.Weighted) Option { } // NewClient creates a new backup client. -// Options: // - ac is the aerospike client to use for backup and restore operations. -// - id is an identifier for the client. -// - logger is the logger that this client will log to. +// +// Options: +// - [WithID] to set an identifier for the client. +// - [WithLogger] to set a logger that this client will log to. +// - [WithScanLimiter] to set a semaphore that is used to limit number of +// concurrent scans. // - scan limiter semaphore that is used to limit number of concurrent scans. func NewClient(ac AerospikeClient, opts ...Option) (*Client, error) { if ac == nil {