protoc-gen-go-micro/examples/dummy/output/export.json

844 lines
13 KiB
JSON

{
"build-date": "2017-05-19T20:09:45.954357761+02:00",
"build-hostname": "manfred-spacegray.aircard",
"build-user": "moul",
"pwd": "/Users/moul/Git/moul/protoc-gen-gotemplate/examples/dummy",
"debug": false,
"destination-dir": ".",
"file": {
"name": "dummy.proto",
"package": "dummy",
"message_type": [
{
"name": "Dummy1",
"field": [
{
"name": "aaa",
"number": 1,
"label": 1,
"type": 2,
"json_name": "aaa"
},
{
"name": "bbb",
"number": 2,
"label": 1,
"type": 9,
"json_name": "bbb"
},
{
"name": "ccc",
"number": 3,
"label": 1,
"type": 5,
"json_name": "ccc"
},
{
"name": "ddd",
"number": 4,
"label": 1,
"type": 3,
"json_name": "ddd"
},
{
"name": "eee",
"number": 5,
"label": 3,
"type": 9,
"json_name": "eee"
}
]
},
{
"name": "Dummy2",
"field": [
{
"name": "fff",
"number": 1,
"label": 1,
"type": 2,
"json_name": "fff"
},
{
"name": "ggg",
"number": 2,
"label": 1,
"type": 11,
"type_name": ".dummy.Dummy1",
"json_name": "ggg"
}
]
},
{
"name": "Dummy3"
}
],
"service": [
{
"name": "DummyService",
"method": [
{
"name": "Hhh",
"input_type": ".dummy.Dummy1",
"output_type": ".dummy.Dummy2",
"options": {}
},
{
"name": "Iii",
"input_type": ".dummy.Dummy2",
"output_type": ".dummy.Dummy1",
"options": {}
}
]
}
],
"source_code_info": {
"location": [
{
"span": [
0,
0,
22,
1
]
},
{
"path": [
12
],
"span": [
0,
0,
18
]
},
{
"path": [
2
],
"span": [
2,
8,
13
]
},
{
"path": [
4,
0
],
"span": [
4,
0,
10,
1
]
},
{
"path": [
4,
0,
1
],
"span": [
4,
8,
14
]
},
{
"path": [
4,
0,
2,
0
],
"span": [
5,
2,
16
]
},
{
"path": [
4,
0,
2,
0,
4
],
"span": [
5,
2,
4,
16
]
},
{
"path": [
4,
0,
2,
0,
5
],
"span": [
5,
2,
7
]
},
{
"path": [
4,
0,
2,
0,
1
],
"span": [
5,
8,
11
]
},
{
"path": [
4,
0,
2,
0,
3
],
"span": [
5,
14,
15
]
},
{
"path": [
4,
0,
2,
1
],
"span": [
6,
2,
17
]
},
{
"path": [
4,
0,
2,
1,
4
],
"span": [
6,
2,
5,
16
]
},
{
"path": [
4,
0,
2,
1,
5
],
"span": [
6,
2,
8
]
},
{
"path": [
4,
0,
2,
1,
1
],
"span": [
6,
9,
12
]
},
{
"path": [
4,
0,
2,
1,
3
],
"span": [
6,
15,
16
]
},
{
"path": [
4,
0,
2,
2
],
"span": [
7,
2,
16
]
},
{
"path": [
4,
0,
2,
2,
4
],
"span": [
7,
2,
6,
17
]
},
{
"path": [
4,
0,
2,
2,
5
],
"span": [
7,
2,
7
]
},
{
"path": [
4,
0,
2,
2,
1
],
"span": [
7,
8,
11
]
},
{
"path": [
4,
0,
2,
2,
3
],
"span": [
7,
14,
15
]
},
{
"path": [
4,
0,
2,
3
],
"span": [
8,
2,
16
]
},
{
"path": [
4,
0,
2,
3,
4
],
"span": [
8,
2,
7,
16
]
},
{
"path": [
4,
0,
2,
3,
5
],
"span": [
8,
2,
7
]
},
{
"path": [
4,
0,
2,
3,
1
],
"span": [
8,
8,
11
]
},
{
"path": [
4,
0,
2,
3,
3
],
"span": [
8,
14,
15
]
},
{
"path": [
4,
0,
2,
4
],
"span": [
9,
2,
26
]
},
{
"path": [
4,
0,
2,
4,
4
],
"span": [
9,
2,
10
]
},
{
"path": [
4,
0,
2,
4,
5
],
"span": [
9,
11,
17
]
},
{
"path": [
4,
0,
2,
4,
1
],
"span": [
9,
18,
21
]
},
{
"path": [
4,
0,
2,
4,
3
],
"span": [
9,
24,
25
]
},
{
"path": [
4,
1
],
"span": [
12,
0,
15,
1
]
},
{
"path": [
4,
1,
1
],
"span": [
12,
8,
14
]
},
{
"path": [
4,
1,
2,
0
],
"span": [
13,
2,
16
]
},
{
"path": [
4,
1,
2,
0,
4
],
"span": [
13,
2,
12,
16
]
},
{
"path": [
4,
1,
2,
0,
5
],
"span": [
13,
2,
7
]
},
{
"path": [
4,
1,
2,
0,
1
],
"span": [
13,
8,
11
]
},
{
"path": [
4,
1,
2,
0,
3
],
"span": [
13,
14,
15
]
},
{
"path": [
4,
1,
2,
1
],
"span": [
14,
2,
17
]
},
{
"path": [
4,
1,
2,
1,
4
],
"span": [
14,
2,
13,
16
]
},
{
"path": [
4,
1,
2,
1,
6
],
"span": [
14,
2,
8
]
},
{
"path": [
4,
1,
2,
1,
1
],
"span": [
14,
9,
12
]
},
{
"path": [
4,
1,
2,
1,
3
],
"span": [
14,
15,
16
]
},
{
"path": [
4,
2
],
"span": [
17,
0,
17
]
},
{
"path": [
4,
2,
1
],
"span": [
17,
8,
14
]
},
{
"path": [
6,
0
],
"span": [
19,
0,
22,
1
]
},
{
"path": [
6,
0,
1
],
"span": [
19,
8,
20
]
},
{
"path": [
6,
0,
2,
0
],
"span": [
20,
2,
37
]
},
{
"path": [
6,
0,
2,
0,
1
],
"span": [
20,
6,
9
]
},
{
"path": [
6,
0,
2,
0,
2
],
"span": [
20,
10,
16
]
},
{
"path": [
6,
0,
2,
0,
3
],
"span": [
20,
27,
33
]
},
{
"path": [
6,
0,
2,
1
],
"span": [
21,
2,
37
]
},
{
"path": [
6,
0,
2,
1,
1
],
"span": [
21,
6,
9
]
},
{
"path": [
6,
0,
2,
1,
2
],
"span": [
21,
10,
16
]
},
{
"path": [
6,
0,
2,
1,
3
],
"span": [
21,
27,
33
]
}
]
},
"syntax": "proto3"
},
"raw-filename": "export.json.tmpl",
"filename": "export.json.tmpl",
"template-dir": "templates",
"service": {
"name": "DummyService",
"method": [
{
"name": "Hhh",
"input_type": ".dummy.Dummy1",
"output_type": ".dummy.Dummy2",
"options": {}
},
{
"name": "Iii",
"input_type": ".dummy.Dummy2",
"output_type": ".dummy.Dummy1",
"options": {}
}
]
},
"enum": null
}