vertx-http-gateway-rust-connector 0.0.1

Rust Implementation for Vertx Http Gateway Connector
Documentation

vertx-http-gateway-rust-connector

CRATES

What is it

Rust implementation for vertx-http-gateway-connector

How to use

use vertx_http_gateway_rust_connector::{ConnectorOptions, VertxHttpGatewayConnector};

#[tokio::main]
async fn main() {
    env_logger::init();
    let connector = VertxHttpGatewayConnector::new(ConnectorOptions {
        register_host: "localhost".to_string(),
        register_port: 9090,
        service_host: None,
        service_name: "test-service".to_string(),
        service_port: 12345,
        register_path: "/register".to_string(),
        instance: None
    });

    connector.start().await;
}