(_ context.Context, req *channelzpb.GetSubchannelRequest)
| 80 | } |
| 81 | |
| 82 | func (s *serverImpl) GetSubchannel(_ context.Context, req *channelzpb.GetSubchannelRequest) (*channelzpb.GetSubchannelResponse, error) { |
| 83 | subChan, err := protoconv.GetSubChannel(req.GetSubchannelId()) |
| 84 | if err != nil { |
| 85 | return nil, err |
| 86 | } |
| 87 | return &channelzpb.GetSubchannelResponse{Subchannel: subChan}, nil |
| 88 | } |
| 89 | |
| 90 | func (s *serverImpl) GetServerSockets(_ context.Context, req *channelzpb.GetServerSocketsRequest) (*channelzpb.GetServerSocketsResponse, error) { |
| 91 | resp := &channelzpb.GetServerSocketsResponse{} |
nothing calls this directly
no test coverage detected