mirror of
https://github.com/luxfi/zmq.git
synced 2026-10-30 15:11:11 +00:00
Modules declare go 1.27.1 and the build images follow. go fix applied the modernizers; omitzero is not applied, since it changes what the JSON says. Co-authored-by: Hanzo Dev <[email protected]>
20 lines
512 B
Go
20 lines
512 B
Go
//go:build !cgo || !czmq
|
|
|
|
// Copyright 2025 The go-zeromq Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package zmq4
|
|
|
|
// When CGO is disabled or czmq tag is not set, this file provides the pure Go implementation
|
|
|
|
// BackendName returns the name of the current backend
|
|
func BackendName() string {
|
|
return "pure-go"
|
|
}
|
|
|
|
// IsCZMQAvailable returns false when using pure Go backend
|
|
func IsCZMQAvailable() bool {
|
|
return false
|
|
}
|