Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Broker ¶
type Broker struct {
// contains filtered or unexported fields
}
Broker is an implementation of the broker interface which handles orchestrating NSQ.
type Peer ¶
type Peer struct {
// contains filtered or unexported fields
}
Peer implements the peer interface for NSQ.
func (*Peer) Done ¶
func (n *Peer) Done()
Done signals to the peer that message publishing has completed.
func (*Peer) Recv ¶
Recv returns a single message consumed by the peer. Subscribe must be called before this. It returns an error if the receive failed.
Click to show internal directories.
Click to hide internal directories.