modulepackage
0.0.0-20201218194342-b4e5383e9627
Repository: https://github.com/getlantern/safechannels.git
Documentation: pkg.go.dev
# Interfaces
Bytes is a channel that can be used to write and read byte slices and that can be safely closed even with pending writes.
Error is a channel that can be used to write and read errors and that can be safely closed even with pending writes.
Func is a channel that can be used to write and read no-argument functions and that can be safely closed even with pending writes.
Int is a channel that can be used to write and read ints and that can be safely closed even with pending writes.
IO is a channel that can be used to write and read io results and that can be safely closed even with pending writes.