Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartBroker ¶
Create a new queue. Port Uri to Bind to. Dealer Uri listens to all the master instances. Router Uri listens to all the slave instances.
Types ¶
type Connection ¶
func NewConnection ¶
func NewConnection() (*Connection, error)
Push pushes and element onto the queue
func (*Connection) Close ¶
func (c *Connection) Close()
type ReqConn ¶
type ReqConn struct {
Conn *Connection
}
Abstraction of the zmq request.
func NewReqConn ¶
Click to show internal directories.
Click to hide internal directories.