tracker

package
v1.0.77 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2026 License: MIT Imports: 1 Imported by: 0

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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL