Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNilObjectWrapped is returned in a constructor when the underlying object is nil. ErrNilObjectWrapped = errors.New("attempted to wrap nil object") // ErrUnsupportedField is returned when a getter/setter access is not supported. ErrUnsupportedField = errors.New("unsupported getter") // ErrOutOfBounds is returned when a slice or array index does not exist. ErrOutOfBounds = errors.New("index out of bounds") )
Functions ¶
func ErrNotSupported ¶
Types ¶
type ThreadSafeEnumerator ¶
type ThreadSafeEnumerator struct {
// contains filtered or unexported fields
}
ThreadSafeEnumerator is a thread-safe counter of all objects created since the node's start.
func (*ThreadSafeEnumerator) Inc ¶
func (c *ThreadSafeEnumerator) Inc() uint64
Inc increments the enumerator and returns the new object count.
Click to show internal directories.
Click to hide internal directories.