Documentation
¶
Index ¶
- type SocketSet
- func (socketSet *SocketSet) Close()
- func (socketSet *SocketSet) Pub(message string) error
- func (socketSet *SocketSet) Pull() (string, error)
- func (socketSet *SocketSet) PullToChan(messages chan string, errs chan error) error
- func (socketSet *SocketSet) Push(message string) error
- func (socketSet *SocketSet) SetPubSocket(endpoint string) error
- func (socketSet *SocketSet) SetPullSocket(endpoint string) error
- func (socketSet *SocketSet) SetPushSocket(endpoint string) error
- func (socketSet *SocketSet) SetSubSocket(endpoint string, filter string) error
- func (socketSet *SocketSet) Sub() (string, error)
- func (socketSet *SocketSet) SubToChan(messages chan string, errs chan error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SocketSet ¶ added in v0.2.0
type SocketSet struct {
Zmq4PubSocket, Zmq4SubSocket *zmq4.Socket
Zmq4PullSocket, Zmq4PushSocket *zmq4.Socket
}
func CreateSocketSet ¶ added in v0.2.0
func CreateSocketSet() *SocketSet
func (*SocketSet) PullToChan ¶ added in v0.2.0
func (*SocketSet) SetPubSocket ¶ added in v0.2.0
func (*SocketSet) SetPullSocket ¶ added in v0.2.0
func (*SocketSet) SetPushSocket ¶ added in v0.2.0
func (*SocketSet) SetSubSocket ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.