support using duplicate checker to prevent duplicate submissions for new transaction record
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package duplicatechecker
|
||||
|
||||
// DuplicateChecker is common duplicate checker interface
|
||||
type DuplicateChecker interface {
|
||||
Get(checkerType DuplicateCheckerType, uid int64, identification string) (bool, string)
|
||||
Set(checkerType DuplicateCheckerType, uid int64, identification string, remark string)
|
||||
}
|
||||
Reference in New Issue
Block a user