Skip to main content

compile_identifier_endpoints

Function compile_identifier_endpoints 

Source
pub fn compile_identifier_endpoints(
    configs: &[IdentifierEndpointConfig],
    default_window: Duration,
) -> Result<Vec<IdentifierEndpoint>, String>
Expand description

Compile per-identifier rules, parsing each rate against default_window.