Split methods and streams in service info

This commit is contained in:
Menghan Li
2016-07-01 11:09:27 -07:00
parent 565b602168
commit a518fa911d
4 changed files with 27 additions and 9 deletions

View File

@ -94,6 +94,8 @@ func TestGetServiceInfo(t *testing.T) {
"grpc.testing.EmptyService": &ServiceInfo{
Methods: []string{
"EmptyCall",
},
Streams: []string{
"EmptyStream",
},
Metadata: []int{0, 2, 1, 3},