github.com/cloudwego/kitex@v0.9.0/pkg/generic/map_test/idl/base.thrift (about) 1 namespace py base 2 namespace go base 3 namespace java com.bytedance.thrift.base 4 5 struct TrafficEnv { 6 1: bool Open = false, 7 2: string Env = "", 8 } 9 10 struct Base { 11 1: string LogID = "", 12 2: string Caller = "", 13 3: string Addr = "", 14 4: string Client = "", 15 5: optional TrafficEnv TrafficEnv, 16 6: optional map<string, string> Extra, 17 } 18 19 struct BaseResp { 20 1: string StatusMessage = "", 21 2: i32 StatusCode = 0, 22 3: optional map<string, string> Extra, 23 }