package
0.0.0-20220214151720-7585b01ddccf
Repository: https://github.com/inetaf/netstack.git
Documentation: pkg.go.dev

# Functions

DoLeakCheck iterates through the live object map and logs a message for each object.
LogDecRef logs a reference decrement.
LogIncRef logs a reference increment.
LogTryIncRef logs a successful TryIncRef call.
Register adds obj to the live object map.
Unregister removes obj from the live object map.

# Interfaces

CheckedObject represents a reference-counted object with an informative leak detection message.
RefCounter is the interface to be implemented by objects that are reference counted.
TryRefCounter is like RefCounter but allow the ref increment to be tried.