Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface {
// LockItem locks the item with the given RID
LockItem(rid resource.RID)
// UnlockItem unlocks the item with the given RID
UnlockItem(rid resource.RID)
// IsItemLocked returns true if the item with the given RID is locked
IsItemLocked(rid resource.RID) bool
// LockedItems returns a slice of all the items that are currently locked
LockedItems() []resource.RID
}
Service Tracker service (handle locking per item)
Click to show internal directories.
Click to hide internal directories.