rep

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package rep implements the REP protocol, which is the response side of the request/response pattern. (REQ is the request.)

Index

Constants

View Source
const (
	Self     = protocol.ProtoRep
	Peer     = protocol.ProtoReq
	SelfName = "rep"
	PeerName = "req"
)

Protocol identity information.

Variables

This section is empty.

Functions

func NewProtocol

func NewProtocol() protocol.Protocol

NewProtocol allocates a protocol state for the REP protocol.

func NewSocket

func NewSocket() (protocol.Socket, error)

NewSocket allocates a new Socket using the REP protocol.

Types

This section is empty.

Jump to

Keyboard shortcuts

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