tina-core 0.0.2

Tina platform
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! gRPC client

mod tonic;

#[cfg(feature = "client-tonic")]
pub use self::tonic::*;

#[derive(Debug, Clone, Eq, PartialEq, PartialOrd, Ord, Hash)]
/// gPRC client属性
pub struct GrpcClientProps {
    /// gRPC服务地址
    pub address: String,
    /// 应用名
    pub app_name: String,
    /// 服务名
    pub service_name: String,
}