24 lines
500 B
Thrift
24 lines
500 B
Thrift
namespace py base
|
|
namespace go base
|
|
namespace rs base
|
|
namespace java com.bytedance.thrift.base
|
|
|
|
struct TrafficEnv {
|
|
1: bool open = false,
|
|
2: string env = "",
|
|
}
|
|
struct Base {
|
|
1: string log_id = "",
|
|
2: string caller = "",
|
|
3: string addr = "",
|
|
4: string client = "",
|
|
5: optional TrafficEnv traffic_env,
|
|
6: optional map<string, string> extra,
|
|
}
|
|
|
|
struct BaseResp {
|
|
1: string status_message = "",
|
|
2: i32 status_code = 0,
|
|
3: optional map<string, string> extra,
|
|
}
|