Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidReplyType = errors.New("reply type does not match")
Functions ¶
Types ¶
type CPC ¶
type CPC struct {
// contains filtered or unexported fields
}
CPC Channel Procedure Call. A play on RPC, but with channels. Use this type to send requests and wait for replies from a goroutine.
func (*CPC) Close ¶
func (c *CPC) Close()
Close closes the CPC channel and no further requests should be made.
Click to show internal directories.
Click to hide internal directories.