package closer
Import Path
github.com/pion/dtls/v2/internal/closer (on go.dev)
Dependency Relation
imports one package, and imported by one package
Involved Source Files
Package closer provides signaling channel for shutdown
Package-Level Type Names (only one)
Closer allows for each signaling a channel for shutdown
Close sends a signal to trigger the ctx done channel
Done returns a channel signaling when it is done
Err returns an error of the context
func NewCloser() *Closer
func NewCloserWithParent(ctx context.Context) *Closer
Package-Level Functions (total 2)
NewCloser creates a new instance of Closer
NewCloserWithParent creates a new instance of Closer with a parent context
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |