Registry / messaging / nats-io-jsm-go

nats-io-jsm-go

JSON →
library0.4.1gogounverified

Package jsm provides client helpers for managing and interacting with NATS JetStream.

go get github.com/nats-io/jsm.go
INSTALL
IMPORT
SIG · NATS-IO-JSM-GO
N
nats-io-jsm-go
messaginggov0.4.1
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.

jsm
github.com/nats-io/jsm.go

Connect to NATS and list all JetStream streams.

package main import ( "fmt" "github.com/nats-io/jsm.go" "github.com/nats-io/nats.go" ) func main() { nc, _ := nats.Connect(nats.DefaultURL) mgr, _ := jsm.New(nc) streams, _ := mgr.Streams(nil) for _, s := range streams { fmt.Println(s.Name()) } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Amazon
1
OpenAI (training)
1
Resources
nats-io-jsm-go — go get nats-io-jsm-go · libregistry