run_server

Function run_server 

Source
pub async fn run_server(
    path: &str,
    port: u16,
    verifier: PushVerifier,
) -> GitServer
Expand description

Runs a Simperby Git server with a push hook enabled.

  • path is the path to the root directory of a Simperby blockchain (not the repository path)
  • port is the port to run the server on
  • verifier is the verifier that accepts or rejects pushes.