Skip to content

Commit

Permalink
Update client.go
Browse files Browse the repository at this point in the history
Co-authored-by: Eugene R. <[email protected]>
  • Loading branch information
korotkov-aerospike and reugn authored Aug 11, 2024
1 parent 58ae895 commit fda1fd9
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit fda1fd9

Please sign in to comment.