mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-18 21:38:31 +00:00
Improve comments for http_server
This commit is contained in:
@@ -8,6 +8,7 @@ use slot_clock::SlotClock;
|
||||
use std::sync::Arc;
|
||||
use types::Slot;
|
||||
|
||||
/// Yields a handler for the metrics endpoint.
|
||||
pub fn build_handler<T: BeaconChainTypes + 'static>(
|
||||
beacon_chain: Arc<BeaconChain<T>>,
|
||||
) -> impl Handler {
|
||||
|
||||
Reference in New Issue
Block a user