package
Version:
v0.6.0
Opens a new window with list of versions in this module.
Published: Apr 15, 2024
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Receiver[T any] struct {
Channel chan T
}
Receiver needs to be exported to be used as an RPC handler.
Close implements the function signature for an RPC handler.
It handles a client closing the communication over the rpchan.
Send implements the function signature for an RPC handler.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.