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. |
|
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. |
Click to show internal directories.
Click to hide internal directories.