examples/

directory
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2026 License: Apache-2.0

README

examples

The examples are set to run against the dev stack. To run the dev stack please see the instructions here.

Once you have the dev stack running any of the examples should work by running go run ./examples/${example}/main.go from the root.

Directories

Path Synopsis
etl runs the ETL indexer against an RPC endpoint and a local Postgres.
etl runs the ETL indexer against an RPC endpoint and a local Postgres.
loadgen fires a batch of entity-manager transactions at a local devnet node to exercise the indexer (users, tracks, follows, subscribes, reposts, saves, comments, user updates).
loadgen fires a batch of entity-manager transactions at a local devnet node to exercise the indexer (users, tracks, follows, subscribes, reposts, saves, comments, user updates).
Command waveform serves a small page that renders a validator node's precomputed waveform peaks in wavesurfer.
Command waveform serves a small page that renders a validator node's precomputed waveform peaks in wavesurfer.

Jump to

Keyboard shortcuts

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