Expand description
This module defines the HTTP routes for network operations. It includes handlers for listing, retrieving, and updating network configurations. The routes are integrated with the Actix-web framework and interact with the network controller.
Structs§
- get_
network - Retrieves details of a specific network by ID.
- list_
networks - Lists all networks with pagination support.
- update_
network - Updates a network’s configuration. Currently supports updating RPC URLs only. Can be extended to support other fields.
Functions§
- init
- Initializes the routes for the network module.