Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLessor ¶
func NewLessor(lessorID uint8, dr DeleteableRange) *lessor
Types ¶
type DeleteableRange ¶
DeleteableRange defines an interface with DeleteRange method. We define this interface only for lessor to limit the number of methods of storage.KV to what lessor actually needs.
Having a minimum interface makes testing easy.
Click to show internal directories.
Click to hide internal directories.