Skip to content

Commit

Permalink
revert comment
Browse files Browse the repository at this point in the history
  • Loading branch information
seeflood committed Nov 22, 2021
1 parent 5160738 commit ba52e2e
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions components/lock/lock_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,12 @@
package lock

type LockStore interface {

// Init this component
// Init lock
Init(metadata Metadata) error

// Features return the feature set this component supports
// Get lock's features
Features() []Feature

// TryLock tries to acquire a lock
// Node tries to acquire a lock
TryLock(req *TryLockRequest) (*TryLockResponse, error)

// Unlock tries to release a lock
// Node tries to release a lock
Unlock(req *UnlockRequest) (*UnlockResponse, error)
}
}

0 comments on commit ba52e2e

Please sign in to comment.