Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DynamodbLock ¶
type DynamodbLock struct { TableName string // contains filtered or unexported fields }
DynamodbLock is to lock job and check duplicated message
func (DynamodbLock) Lock ¶
func (dl DynamodbLock) Lock(lockID, eventID string) error
Lock put a record into dynamodb with lock_id
func (DynamodbLock) Unlock ¶
func (dl DynamodbLock) Unlock(lockID string) error
Unlock delete record from dynamodb with lock_id
Click to show internal directories.
Click to hide internal directories.