Documentation ¶
Overview ¶
Package idm manages reservation/release of numerical ids from a configured set of contiguous ids
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Idm ¶
type Idm struct {
// contains filtered or unexported fields
}
Idm manages the reservation/release of numerical ids from a contiguous set
func (*Idm) GetIDInRange ¶
GetIDInRange returns the first available id in the set within a [start,end] range
func (*Idm) GetSpecificID ¶
GetSpecificID tries to reserve the specified id
Click to show internal directories.
Click to hide internal directories.