Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "v0.1.0" GitRev = "undefined" GitBranch = "undefined" BuildDate = "Fri, 17 Jun 1988 01:58:00 +0200" )
Populated during build, don't touch!
Functions ¶
func PrintVersion ¶
PrintVersion prints version info into the provided io.Writer.
Types ¶
type FullVersion ¶
type FullVersion struct {
Version string
GitRev string
GitBranch string
BuildDate string
GoVersion string
OS string
Arch string
}
func GetVersion ¶
func GetVersion() FullVersion
func (FullVersion) Brief ¶ added in v0.1.0
func (f FullVersion) Brief() string
func (FullVersion) String ¶
func (f FullVersion) String() string
Directories
¶
| Path | Synopsis |
|---|---|
|
docs
Package docs Code generated by swaggo/swag.
|
Package docs Code generated by swaggo/swag. |
|
feeestimate
Package feeestimate holds the fee-estimation API contract shared by the claim and bridge fee estimate endpoints: the response types, the string enums they use, the sentinel errors the HTTP layer maps to status codes, and the FeeEstimator interface the bridge service calls with one instance per network.
|
Package feeestimate holds the fee-estimation API contract shared by the claim and bridge fee estimate endpoints: the response types, the string enums they use, the sentinel errors the HTTP layer maps to status codes, and the FeeEstimator interface the bridge service calls with one instance per network. |
|
Package bridgeservicefinder resolves and serves the bridge service REST URL and the JSON-RPC endpoint for every network attached to a given rollup manager.
|
Package bridgeservicefinder resolves and serves the bridge service REST URL and the JSON-RPC endpoint for every network attached to a given rollup manager. |
|
api/docs
Package docs Code generated by swaggo/swag.
|
Package docs Code generated by swaggo/swag. |
|
db
Package db holds everything SQLite-related for the bridge tracker: the sqliteRegistry adapter of domain.SupervisedRegistry and its migrations (see migrations/), mirroring how aggsender/db holds its own component's SQLite storage.
|
Package db holds everything SQLite-related for the bridge tracker: the sqliteRegistry adapter of domain.SupervisedRegistry and its migrations (see migrations/), mirroring how aggsender/db holds its own component's SQLite storage. |
|
db/migrations
Package migrations holds the bridge tracker's own SQLite migrations (see bridgetracker's sqliteRegistry), following the same //go:embed + db.RunMigrations pattern as reorgdetector/migrations.
|
Package migrations holds the bridge tracker's own SQLite migrations (see bridgetracker's sqliteRegistry), following the same //go:embed + db.RunMigrations pattern as reorgdetector/migrations. |
|
domain
Package domain holds the pure business rules of the bridge tracker: decisions that depend only on bridge facts, with no I/O and no dependency on the ports or adapters.
|
Package domain holds the pure business rules of the bridge tracker: decisions that depend only on bridge facts, with no I/O and no dependency on the ports or adapters. |
|
sources
Package sources implements the driven fact ports of the bridge tracker engine (bridgetracker.BridgeEventSource, GERSource, LERSource, ClaimSource, CertificateSource) over the real backends: the per-network JSON-RPC endpoints and the aggkit bridge service REST API, both resolved per network through the bridgeservicefinder.
|
Package sources implements the driven fact ports of the bridge tracker engine (bridgetracker.BridgeEventSource, GERSource, LERSource, ClaimSource, CertificateSource) over the real backends: the per-network JSON-RPC endpoints and the aggkit bridge service REST API, both resolved per network through the bridgeservicefinder. |
|
Package proxy implements the bridge-service reverse proxy component: it exposes the aggkit bridge service REST API on the shared HTTP server and forwards every request to the bridge service of the network selected by the request's network_id query parameter, resolved (and kept fresh) through the bridgeservicefinder.
|
Package proxy implements the bridge-service reverse proxy component: it exposes the aggkit bridge service REST API on the shared HTTP server and forwards every request to the bridge service of the network selected by the request's network_id query parameter, resolved (and kept fresh) through the bridgeservicefinder. |
|
cmd
command
|
|
|
test
|
|
|
tools
|
|
|
aggsender_find_imported_bridge
command
|
|
|
backward_forward_let/cmd
command
|
|
|
config_render
Package configrender composes and resolves an aggkit configuration file using the same pipeline as the aggkit binary (config.ConfigRender), but allowing each default layer to be overridden or skipped.
|
Package configrender composes and resolves an aggkit configuration file using the same pipeline as the aggkit binary (config.ConfigRender), but allowing each default layer to be overridden or skipped. |
|
config_render/cmd
command
|
|
|
exit_certificate/cmd
command
|
|
|
exit_certificate/scripts/agglayer_status
command
Command agglayer_status prints the status and height of the latest agglayer certificate for an L2 network, using the same agglayer gRPC client as the exit_certificate tool.
|
Command agglayer_status prints the status and height of the latest agglayer certificate for an L2 network, using the same agglayer gRPC client as the exit_certificate tool. |
|
force_ger_update/cmd
command
|
|
|
get_initial_ler/cmd
command
|
|
|
remove_ger/cmd
command
|
|
Click to show internal directories.
Click to hide internal directories.