pkg/

directory
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2026 License: MIT

Directories

Path Synopsis
abi
api
Package api implements the API server.
Package api implements the API server.
message
Package message implements the replication API service.
Package message implements the replication API service.
metadata
Package metadata implements the metadata API service.
Package metadata implements the metadata API service.
payer
Package payer implements the Payer API service.
Package payer implements the Payer API service.
Package authn implements a JWT token factory and verifier.
Package authn implements a JWT token factory and verifier.
Package blockchain provides infrastructure for interacting with the blockchain.
Package blockchain provides infrastructure for interacting with the blockchain.
noncemanager
Package noncemanager provides interfaces and implementations for managing transaction nonces in a blockchain environment.
Package noncemanager provides interfaces and implementations for managing transaction nonces in a blockchain environment.
noncemanager/redis
Package redis provides a Redis-backed implementation of the NonceManager interface.
Package redis provides a Redis-backed implementation of the NonceManager interface.
noncemanager/sql
Package sql provides a SQL database-backed implementation of the NonceManager interface.
Package sql provides a SQL database-backed implementation of the NonceManager interface.
oracle
Package oracle provides a blockchain oracle for gas price queries.
Package oracle provides a blockchain oracle for gas price queries.
Package chainwatcher implements a standalone chain watcher that monitors payer report events on the settlement chain and emits Prometheus metrics.
Package chainwatcher implements a standalone chain watcher that monitors payer report events on the settlement chain and emits Prometheus metrics.
Package config implements the configuration options for the xmtpd server.
Package config implements the configuration options for the xmtpd server.
Package constants implements the constants for the xmtpd server.
Package constants implements the constants for the xmtpd server.
Package currency implements the type PicoDollar and MicroDollar, and its conversions.
Package currency implements the type PicoDollar and MicroDollar, and its conversions.
db
Package db provides DB access and advisory-lock helpers for coordinating HA workers.
Package db provides DB access and advisory-lock helpers for coordinating HA workers.
seeds
Package seeds provides functions to seed the database with test data.
Package seeds provides functions to seed the database with test data.
types
Package types defines custom types for the db package.
Package types defines custom types for the db package.
Package debug implements the pprof server.
Package debug implements the pprof server.
Package deserializer implements the deserializer for the MLS messages.
Package deserializer implements the deserializer for the MLS messages.
e2e
chain
Package chain provides a wrapper around the Anvil blockchain used for on-chain operations.
Package chain provides a wrapper around the Anvil blockchain used for on-chain operations.
chaos
Package chaos provides a toxiproxy-based chaos injection controller for E2E tests.
Package chaos provides a toxiproxy-based chaos injection controller for E2E tests.
client
Package client provides traffic generation for E2E tests.
Package client provides traffic generation for E2E tests.
cmd
Package cmd provides the CLI for the E2E test framework.
Package cmd provides the CLI for the E2E test framework.
gateway
Package gateway provides a wrapper around the Gateway service used for E2E tests.
Package gateway provides a wrapper around the Gateway service used for E2E tests.
keys
Package keys manages Anvil private key allocation for E2E tests.
Package keys manages Anvil private key allocation for E2E tests.
node
Package node provides a wrapper around the Node service used for E2E tests.
Package node provides a wrapper around the Node service used for E2E tests.
observe
Package observe provides a wrapper around the Observer service used for E2E tests.
Package observe provides a wrapper around the Observer service used for E2E tests.
runner
Package runner provides the core test runner for E2E tests.
Package runner provides the core test runner for E2E tests.
tests
Package tests contains the E2E test implementations for xmtpd.
Package tests contains the E2E test implementations for xmtpd.
types
Package types defines shared types for the E2E test framework.
Package types defines shared types for the E2E test framework.
Package envelopes implements methods to create and manipulate different types of envelopes.
Package envelopes implements methods to create and manipulate different types of envelopes.
Package fees implements the congestion fee calculation.
Package fees implements the congestion fee calculation.
Package gateway implements the gateway service.
Package gateway implements the gateway service.
examples/basic command
examples/jwt command
Package indexer implements the Indexer.
Package indexer implements the Indexer.
app_chain
Package appchain implements the AppChain Indexer.
Package appchain implements the AppChain Indexer.
app_chain/contracts
Package contracts implements the GroupMessageBroadcaster and IdentityUpdateBroadcaster contracts.
Package contracts implements the GroupMessageBroadcaster and IdentityUpdateBroadcaster contracts.
common
Package common contains interfaces for the indexer.
Package common contains interfaces for the indexer.
rpc_streamer
Package rpcstreamer implements a log streamer that uses the RPC node to backfill history and then switch to a subscription.
Package rpcstreamer implements a log streamer that uses the RPC node to backfill history and then switch to a subscription.
settlement_chain
Package settlementchain implements the SettlementChain Indexer.
Package settlementchain implements the SettlementChain Indexer.
settlement_chain/contracts
Package contracts implements the payer registry and payer registry manager contracts.
Package contracts implements the payer registry and payer registry manager contracts.
integration
builders
Package builders implements a collection of container builders for the integration tests.
Package builders implements a collection of container builders for the integration tests.
interceptors
client
Package client implements the authentication interceptors for the client.
Package client implements the authentication interceptors for the client.
server
Package server implements the server authentication interceptors.
Package server implements the server authentication interceptors.
Package ledger implements the ledger for payer balances.
Package ledger implements the ledger for payer balances.
Package merkle implements the Merkle tree for the payer report.
Package merkle implements the Merkle tree for the payer report.
Package metrics implements the Prometheusmetrics for the XMTPD service.
Package metrics implements the Prometheusmetrics for the XMTPD service.
docs command
Package migrator implements a service that migrates data from a source database to a destination database.
Package migrator implements a service that migrates data from a source database to a destination database.
Package misbehavior implements the misbehavior reports service.
Package misbehavior implements the misbehavior reports service.
Package mlsvalidate implements the MLS validation service interface.
Package mlsvalidate implements the MLS validation service interface.
Package payerreport implements the payer report generator and verifier interfaces.
Package payerreport implements the payer report generator and verifier interfaces.
workers
Package workers implements the attestation worker for the payer report.
Package workers implements the attestation worker for the payer report.
proto
Package prune implements the DB prune executor.
Package prune implements the DB prune executor.
Package ratelimiter provides a rate limiter interface and implementation.
Package ratelimiter provides a rate limiter interface and implementation.
Package registrant implements the registrant for the node.
Package registrant implements the registrant for the node.
Package registry implements the node registry interface.
Package registry implements the node registry interface.
Package server implements the base server that manages all the other services.
Package server implements the base server that manages all the other services.
Package stress implements the stress test for the identity updates.
Package stress implements the stress test for the identity updates.
Package sync implements the sync server.
Package sync implements the sync server.
Package testutils implements test utils for many different packages.
Package testutils implements test utils for many different packages.
anvil
Package anvil implements the anvil test utils.
Package anvil implements the anvil test utils.
api
Package apiutils implements the api test utils.
Package apiutils implements the api test utils.
envelopes
Package envelopes implements the envelopes test utils.
Package envelopes implements the envelopes test utils.
fees
Package fees implements the fees test utils.
Package fees implements the fees test utils.
flags
Package flags provides control over flags that are set at build time.
Package flags provides control over flags that are set at build time.
network
Package network implements the network test utils.
Package network implements the network test utils.
redis
Package redis implements the redis test utils.
Package redis implements the redis test utils.
registry
Package registry implements the node registry test utils.
Package registry implements the node registry test utils.
server
Package server implements the replication server test utils.
Package server implements the replication server test utils.
Package topic implements the topic type.
Package topic implements the topic type.
Package tracing provides span operation name constants for APM instrumentation.
Package tracing provides span operation name constants for APM instrumentation.
Package utils implements different utilities to be used by production code.
Package utils implements different utilities to be used by production code.
grpc
Package grpc provides utility functions for working with gRPC.
Package grpc provides utility functions for working with gRPC.
retryerrors
Package retryerrors implements the retryable error interface.
Package retryerrors implements the retryable error interface.

Jump to

Keyboard shortcuts

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