Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Broker ¶
Broker implements the broker interface for Google Cloud Pub/Sub.
type Peer ¶
type Peer struct {
// contains filtered or unexported fields
}
Peer implements the peer interface for Google Cloud Pub/Sub.
func (*Peer) Done ¶
func (c *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.