zmtp

package
v0.0.0-...-7428829 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2013 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package zmtp implements the wire format used in ZMTP, the ZeroMQ Message Transport Protocol.

For more information, see: http://zmtp.org/

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Negotiator

type Negotiator struct {
	// Identity is used as an addressing mechanism in ZMTP. If not specified, the
	// anonymous identity will be used. The maximum length is 254 bytes and should
	// not start with 0x00.
	Identity []byte
}

func (*Negotiator) Upgrade

Upgrade performs the handshake as defined by ZMTP and upgrades the given r and w to a reader and writer capable of communicating with the other node using ZMTP.

type Type

type Type int
const (
	REQ Type = 3
	REP      = 4
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL