Skip to main content

serve

Function serve 

Source
pub async fn serve(
    addr: SocketAddr,
    vault: Vault,
    password: String,
) -> Result<(), Box<dyn Error + Send + Sync>>
Expand description

Bind and serve the AgentID gRPC service on addr until the future is dropped. The password is held in memory as long as the server is alive.