Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ConsulAddress string Key string TTLSecond int LockWaitTime time.Duration LockTryOnce bool MonitorRetries int UnlockAndDestroy bool }
func NewDefaultConfig ¶
Click to show internal directories.
Click to hide internal directories.