examples/

directory
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2026 License: MIT

Directories

Path Synopsis
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.
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.
events
Package events publishes events over the "events" NATS connection.
Package events publishes events over the "events" NATS connection.
gen
ledger
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).
orders
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.
store
Package store reads the Cassandra/ScyllaDB cluster through the "store" session.
Package store reads the Cassandra/ScyllaDB cluster through the "store" session.
Command publisher announces a created order through the publisher inject builds, on the driver boost.wrapper.publisher.driver.name chooses (noop by default).
Command publisher announces a created order through the publisher inject builds, on the driver boost.wrapper.publisher.driver.name chooses (noop by default).
domain/model/entity
Package entity holds the entities of the example.
Package entity holds the entities of the example.
domain/publisher/ordercreated
Package ordercreated announces that an order was created.
Package ordercreated announces that an order was created.
gen
publisher/ordercreated/boost
Package boost implements ordercreated.Publisher on boost's wrapper/publisher, whose driver config chooses.
Package boost implements ordercreated.Publisher on boost's wrapper/publisher, whose driver config chooses.
Command simple wires an fx application from inject annotations.
Command simple wires an fx application from inject annotations.
app
Package app consumes the values provided by the other packages.
Package app consumes the values provided by the other packages.
gen
greeting
Package greeting provides the greeters used by the example.
Package greeting provides the greeters used by the example.
names
Package names contributes values to the "names" group.
Package names contributes values to the "names" group.

Jump to

Keyboard shortcuts

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