View definition

const OptionSubscribe

Defined in github.com/go-mangos/mangos/options.go

Description

OptionSubscribe is used by SUB/XSUB. The argument is a []byte. The application will receive messages that start with this prefix. Multiple subscriptions may be in effect on a given socket. The application will not receive messages that do not match any current subscriptions. (If there are no subscriptions for a SUB/XSUB socket, then the application will not receive any messages. An empty prefix can be used to subscribe to all messages.)

OptionSubscribe is referenced in 4 repositories

github.com/go-mangos/mangos github.com/gdamore/mangos github.com/Jeffail/benthos

...