Skip to main content

gate

Function gate 

Source
pub fn gate(
    trusted: &[String],
) -> Result<impl Fn(&Vocabulary) -> Result<(), String> + Send + 'static>
Expand description

A test for kute peer serve --require-signature-from: passes a vocabulary that carries a valid signature from one of trusted.