Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DynamoDBLockClient ¶
type DynamoDBLockClient struct {
// contains filtered or unexported fields
}
func NewDynamoDBLockClient ¶
func NewDynamoDBLockClient(tableName string, endpoint string) *DynamoDBLockClient
func (*DynamoDBLockClient) Lock ¶
func (c *DynamoDBLockClient) Lock(key string, timeout int64)
func (*DynamoDBLockClient) Unlock ¶
func (c *DynamoDBLockClient) Unlock(key string)
type LockClient ¶
type LockClient interface { Lock() Unlock() }
Click to show internal directories.
Click to hide internal directories.