Documentation ¶
Overview ¶
Package lock provide Lock and Unlock when manage the disk
Package lock provide Lock and Unlock when manage the disk
Index ¶
Constants ¶
View Source
const ( // GetLockTimeoutSec is the maximum number of seconds to acquire a lock GetLockTimeoutSec = 30 // GetSemaphoreTimeout is used to determine whether the acquisition of semaphore is time out GetSemaphoreTimeout = "get semaphore timeout" // GetLockTimeout is used to determine whether the acquisition of semaphore is time out GetLockTimeout = "get lock timeout" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.