Module network

Source
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.