mirror of
https://github.com/status-im/consul.git
synced 2025-02-19 17:14:37 +00:00
Adds comment about SessionOpts.
This commit is contained in:
parent
25455c97c3
commit
556ffc588b
@ -73,8 +73,8 @@ type LockOptions struct {
|
|||||||
Value []byte // Optional, value to associate with the lock
|
Value []byte // Optional, value to associate with the lock
|
||||||
Session string // Optional, created if not specified
|
Session string // Optional, created if not specified
|
||||||
SessionOpts *SessionEntry // Optional, options to use when creating a session
|
SessionOpts *SessionEntry // Optional, options to use when creating a session
|
||||||
SessionName string // Optional, defaults to DefaultLockSessionName
|
SessionName string // Optional, defaults to DefaultLockSessionName (ignored if SessionOpts is given)
|
||||||
SessionTTL string // Optional, defaults to DefaultLockSessionTTL
|
SessionTTL string // Optional, defaults to DefaultLockSessionTTL (ignored if SessionOpts is given)
|
||||||
MonitorRetries int // Optional, defaults to 0 which means no retries
|
MonitorRetries int // Optional, defaults to 0 which means no retries
|
||||||
MonitorRetryTime time.Duration // Optional, defaults to DefaultMonitorRetryTime
|
MonitorRetryTime time.Duration // Optional, defaults to DefaultMonitorRetryTime
|
||||||
LockWaitTime time.Duration // Optional, defaults to DefaultLockWaitTime
|
LockWaitTime time.Duration // Optional, defaults to DefaultLockWaitTime
|
||||||
|
Loading…
x
Reference in New Issue
Block a user