Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Counter ¶
type Counter struct {
// contains filtered or unexported fields
}
func (*Counter) Dec ¶
func (r *Counter) Dec(release func())
Dec decrements the counter and calls the release function, if this is the last reference.
Click to show internal directories.
Click to hide internal directories.