refclose

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2021 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Closer

type Closer func()

type Ref

type Ref struct {
	// contains filtered or unexported fields
}

func (*Ref) Key

func (me *Ref) Key() interface{}

func (*Ref) Release

func (me *Ref) Release()

func (*Ref) SetCloser

func (me *Ref) SetCloser(closer Closer)

type RefPool

type RefPool struct {
	// contains filtered or unexported fields
}

func (*RefPool) NewRef

func (me *RefPool) NewRef(key interface{}) (ret *Ref)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL