Module routes

Source
Expand description

§API Routes Module

Configures HTTP routes for the relayer service API.

§Routes

  • /health - Health check endpoints
  • /relayers - Relayer management endpoints
  • /notifications - Notification management endpoints
  • /signers - Signer management endpoints

Modules§

docs
health
This module provides a health check endpoint for the API.
metrics
This module provides HTTP endpoints for interacting with system metrics.
notification
This module defines the HTTP routes for notification operations. It includes handlers for listing, retrieving, creating, updating, and deleting notifications. The routes are integrated with the Actix-web framework and interact with the notification controller.
plugin
This module defines the HTTP routes for plugin operations. It includes handlers for calling plugin methods. The routes are integrated with the Actix-web framework and interact with the plugin controller.
relayer
This module defines the HTTP routes for relayer operations. It includes handlers for listing, retrieving, updating, and managing relayer transactions. The routes are integrated with the Actix-web framework and interact with the relayer controller.
signer
This module defines the HTTP routes for signer operations. It includes handlers for listing, retrieving, creating, updating, and deleting signers. The routes are integrated with the Actix-web framework and interact with the signer controller.

Functions§

configure_routes