An open API service providing repository metadata for many open source software ecosystems.

Package Usage: go: github.com/pebbe/zmq4

A Go interface to ZeroMQ (zmq, 0mq) version 4. For ZeroMQ version 3, see: http://github.com/pebbe/zmq3 For ZeroMQ version 2, see: http://github.com/pebbe/zmq2 http://www.zeromq.org/ See also the wiki: https://github.com/pebbe/zmq4/wiki ---- A note on the use of a context: This package provides a default context. This is what will be used by the functions without a context receiver, that create a socket or manipulate the context. Package developers that import this package should probably not use the default context with its associated functions, but create their own context(s). See: type Context. ---- Since Go 1.14 you will get a lot of interrupted system calls. See: https://golang.org/doc/go1.14#runtime There are two options to prevent this. The first option is to build your program with the environment variable: The second option is to let the program retry after an interrupted system call. Initially, this is set to true, for the global context, and for contexts created with NewContext(). When you install a signal handler, for instance to handle Ctrl-C, you should probably clear this option in your signal handler. For example: ----
15 versions
Latest release: about 2 years ago
353 dependent packages

View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/pebbe/zmq4

Dependent Repos 0