sub

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package sub implements the SUB protocol. This protocol receives messages from publishers (PUB peers). The messages are filtered based on subscription, such that only subscribed messages (see OptionSubscribe) are received.

Note that in order to receive any messages, at least one subscription must be present. If no subscription is present (the default state), receive operations will block forever.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSocket

func NewSocket() (mangos.Socket, error)

NewSocket allocates a new Socket using the SUB protocol.

Types

This section is empty.

Jump to

Keyboard shortcuts

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