zandGitHub 999f2df1af Delete upstream workflows
Upstream CI on hosted runners the spending limit refuses.

Claude-Session: https://claude.ai/code/session_01HuMDfgFssPUptYUzgZ6Cp8
2026-09-24 10:17:27 -07:00
2020-01-21 18:42:38 +01:00
2026-09-24 10:17:27 -07:00
2026-08-20 20:13:57 -07:00
2025-08-25 13:00:07 -05:00
2026-08-20 20:13:57 -07:00
2026-06-02 11:22:01 -07:00
2018-04-13 18:57:57 +02:00
2025-08-21 20:58:19 -05:00
2022-06-01 09:25:53 +02:00
2025-08-12 12:19:05 -05:00
2022-06-01 09:25:53 +02:00
2026-06-28 20:56:47 -07:00
2020-10-21 16:12:23 +02:00
2022-06-01 09:25:53 +02:00
2025-08-21 20:58:19 -05:00
2020-10-21 16:12:23 +02:00

zmq

zmq4 - LuxFi Fork

GitHub release go.dev reference CI Pure Go Tests CZMQ Tests Coverage GoDoc Go Report Card License

zmq4 is a pure-Go implementation of ØMQ (ZeroMQ), version 4.

This is the LuxFi fork of the original go-zeromq/zmq4 project, maintained for use in the Lux Network ecosystem.

See zeromq.org for more information about ZeroMQ.

Installation

go get github.com/luxfi/zmq/v4

Usage

import "github.com/luxfi/zmq/v4"

Version

This fork maintains compatibility with ZeroMQ v4.2.0 and follows Go module versioning with the /v4 suffix.

Development

This fork is maintained by the LuxFi team for use in the Lux Network consensus and networking layers.

Build Modes

This package automatically selects the implementation based on CGO:

  • CGO_ENABLED=0 (or unset): Pure Go implementation (default, no C dependencies)
  • CGO_ENABLED=1: CZMQ compatibility layer (requires libczmq)

Testing

# Run tests with pure Go implementation
CGO_ENABLED=0 go test ./...
# or simply:
make test

# Run tests with CZMQ compatibility layer
CGO_ENABLED=1 go test ./...
# or:
make test-czmq

# Run tests with verbose output
make test-verbose

# Run tests with race detector
make test-race

# Run tests with coverage
make test-cover

License

zmq4 is released under the BSD-3 license.

Documentation

Documentation for zmq4 is served by GoDoc.

Dependencies

Pure Go (Default)

By default, this package is a pure-Go implementation with no external dependencies.

Optional CZMQ Compatibility

For compatibility testing with the C implementation, this package optionally depends on:

Contributing

Contributions are welcome! Please submit issues and pull requests to the LuxFi ZMQ repository.

Original Project

This is a fork of go-zeromq/zmq4. The original project is licensed under BSD-3.

CI Status

S
Description
Pure-Go implementation of ZeroMQ-4
Readme BSD-3-Clause
705 KiB
Languages
Go 92.9%
Shell 6.2%
Makefile 0.9%