//
pkg.gl
Category
github.com/dcnetio/gothreads-lib
go-libp2p-pubsub-rpc
finalizer
package
0.1.31
Repository:
https://github.com/dcnetio/gothreads-lib.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
4
Dependents
2
Files
54 SLOC
#
Functions
NewContextCloser
NewContextCloser transforms context cancellation function to be used with finalizer.
NewFinalizer
NewFinalizer returns a new Finalizer.
#
Structs
ContextCloser
ContextCloser maps a context to io.Closer.
Finalizer
Finalizer collects resources for convenient cleanup.