Documentation ¶
Index ¶
- type Cmsg
- func (cmsg *Cmsg) Dump()
- func (cmsg *Cmsg) GetBody() (body string, err error)
- func (cmsg *Cmsg) GetKey() (key string, err error)
- func (cmsg *Cmsg) GetSequence() (sequence int64, err error)
- func (cmsg *Cmsg) Send(socket *zmq.Socket) (err error)
- func (cmsg *Cmsg) SetBody(body string)
- func (cmsg *Cmsg) SetKey(key string)
- func (cmsg *Cmsg) SetSequence(sequence int64)
- func (cmsg *Cmsg) Size() int
- func (cmsg *Cmsg) Store(cmap map[string]*Cmsg)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmsg ¶
type Cmsg struct {
// contains filtered or unexported fields
}
The Cmsg type holds a single key-value message consisting of a list of 0 or more frames.
func RecvCmsg ¶
The RecvCmsg function reads a key-value message from socket, and returns a new Cmsg instance.
func (*Cmsg) Dump ¶
func (cmsg *Cmsg) Dump()
The dump method prints the key-value message to stderr, for debugging and tracing.
func (*Cmsg) GetSequence ¶
func (*Cmsg) SetSequence ¶
Click to show internal directories.
Click to hide internal directories.