Documentation
¶
Overview ¶
Package event provides some primitives that are used for message passing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resp ¶
type Resp chan error
Resp is a channel to be used for boolean responses. A nil represents an ACK, and a non-nil represents a NACK (false). This also lets us use custom errors.
func NewResp ¶
func NewResp() Resp
NewResp is just a helper to return the right type of response channel.
Click to show internal directories.
Click to hide internal directories.