grpc_gateway 0.1.5

A GRPC Gateway which handle the http request and convert into GRPC
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::borrow::Cow;

use reqwest::StatusCode;

#[derive(Debug)]
pub struct Response {
    pub message: Cow<'static, str>,
    pub status: Cow<'static, str>,
    pub status_code: StatusCode,
    pub data: Option<serde_json::Value>,
}