Registry / messaging / lightninglabs-gozmq

lightninglabs-gozmq

JSON →
library0.0.0-20191113021534-d20a764486bfgogounverified

Package gozmq provides a ZMQ pubsub client implementing the ZMTP protocol.

go get github.com/lightninglabs/gozmq
INSTALL
IMPORT
SIG · LIGHTNINGLABS-GOZM
L
lightninglabs-gozmq
messaginggov0.0.0-20191113021534-d20a764486bf
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gozmq
github.com/lightninglabs/gozmq

Connects to a ZMQ publisher and receives a message.

package main import ( "fmt" "github.com/lightninglabs/gozmq" ) func main() { client, err := gozmq.NewClient("tcp://localhost:5556", gozmq.Sub, "topic") if err != nil { panic(err) } defer client.Close() msg, err := client.Recv() if err != nil { panic(err) } fmt.Printf("Received: %s\n", msg) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20191113021534-d20a764486bflatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
OpenAI (training)
1
Resources
lightninglabs-gozmq — go get lightninglabs-gozmq · libregistry