clients

command
v1.6.1 Latest Latest
Warning

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

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

Documentation

Overview

Command clients wires a NATS connection, a Pub/Sub client, gocql sessions of both drivers and a Bigtable client 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 catalog stores the prices of the catalog in Bigtable through the "catalog" client.
Package catalog stores the prices of the catalog in Bigtable through the "catalog" client.
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