clients

command
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Command clients wires a NATS connection, a Pub/Sub client and gocql sessions of both drivers that inject builds from @Inject, and stops them with the app.

Regenerate the modules in gen/ with:

go generate ./inject/examples/clients

Directories

Path Synopsis
Package events publishes events over the "events" NATS connection.
Package events publishes events over the "events" NATS connection.
gen
Package ledger reads the Cassandra/ScyllaDB cluster through the "ledger" session of the Apache driver (github.com/apache/cassandra-gocql-driver/v2).
Package ledger reads the Cassandra/ScyllaDB cluster through the "ledger" session of the Apache driver (github.com/apache/cassandra-gocql-driver/v2).
Package orders manages the Pub/Sub topics of orders through the "orders" client.
Package orders manages the Pub/Sub topics of orders through the "orders" client.
Package store reads the Cassandra/ScyllaDB cluster through the "store" session.
Package store reads the Cassandra/ScyllaDB cluster through the "store" session.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL