grpc_gateway 0.1.4

A GRPC Gateway which handle the http request and convert into GRPC
Documentation
use serde::{Deserialize, Serialize};

use crate::registery::model::AuthType;

#[derive(Debug, Serialize, Deserialize)]
pub struct RequestType {
    pub method: String,
    pub service: String,
    pub data: serde_json::Value,
}

#[derive(Debug, Clone)]
pub struct ServiceRegisterRequest {
    pub service_name: String,
    pub host: String,
    pub port: String,
    pub health_check_endpoint: String,
    pub oauth_config: Option<AuthType>,
}