File tree 25 files changed +248
-12
lines changed
helloworld/mock_helloworld
route_guide/mock_routeguide
25 files changed +248
-12
lines changed Original file line number Diff line number Diff line change
1
+ /*
2
+ *
3
+ * Copyright 2017 gRPC authors.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ *
17
+ */
18
+
1
19
package grpc
2
20
3
21
import (
Original file line number Diff line number Diff line change
1
+ /*
2
+ *
3
+ * Copyright 2017 gRPC authors.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ *
17
+ */
18
+
1
19
package grpc
2
20
3
21
import "testing"
Original file line number Diff line number Diff line change 1
1
// +build go1.6,!go1.7
2
2
3
+ /*
4
+ *
5
+ * Copyright 2017 gRPC authors.
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ *
19
+ */
20
+
3
21
package benchmark
4
22
5
23
import (
Original file line number Diff line number Diff line change 1
1
// +build go1.7
2
2
3
+ /*
4
+ *
5
+ * Copyright 2017 gRPC authors.
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ *
19
+ */
20
+
3
21
package benchmark
4
22
5
23
import (
Original file line number Diff line number Diff line change
1
+ /*
2
+ *
3
+ * Copyright 2017 gRPC authors.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ *
17
+ */
18
+
1
19
package main
2
20
3
21
import (
Original file line number Diff line number Diff line change 15
15
* limitations under the License.
16
16
*
17
17
*/
18
+
18
19
package latency
19
20
20
21
import (
Original file line number Diff line number Diff line change
1
+ /*
2
+ *
3
+ * Copyright 2017 gRPC authors.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ *
17
+ */
18
+
1
19
package main
2
20
3
21
import (
Original file line number Diff line number Diff line change
1
+ /*
2
+ *
3
+ * Copyright 2017 gRPC authors.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ *
17
+ */
18
+
1
19
package stats
2
20
3
21
import (
Original file line number Diff line number Diff line change
1
+ /*
2
+ *
3
+ * Copyright 2017 gRPC authors.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ *
17
+ */
18
+
1
19
package stats
2
20
3
21
import (
Original file line number Diff line number Diff line change
1
+ /*
2
+ *
3
+ * Copyright 2017 gRPC authors.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ *
17
+ */
18
+
1
19
package stats
2
20
3
21
import (
Original file line number Diff line number Diff line change 1
1
/*
2
+ *
2
3
* Copyright 2016 gRPC authors.
3
4
*
4
5
* Licensed under the Apache License, Version 2.0 (the "License");
Original file line number Diff line number Diff line change 1
1
/*
2
- *
2
+ *
3
3
* Copyright 2014 gRPC authors.
4
4
*
5
5
* Licensed under the Apache License, Version 2.0 (the "License");
14
14
* See the License for the specific language governing permissions and
15
15
* limitations under the License.
16
16
*
17
- */
17
+ */
18
18
19
19
package grpc
20
20
Original file line number Diff line number Diff line change
1
+ /*
2
+ *
3
+ * Copyright 2017 gRPC authors.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ *
17
+ */
18
+
1
19
package mock_helloworld_test
2
20
3
21
import (
Original file line number Diff line number Diff line change
1
+ /*
2
+ *
3
+ * Copyright 2017 gRPC authors.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ *
17
+ */
18
+
1
19
package mock_routeguide_test
2
20
3
21
import (
Original file line number Diff line number Diff line change 1
1
// +build go1.6,!go1.7
2
2
3
3
/*
4
+ *
4
5
* Copyright 2016 gRPC authors.
5
6
*
6
7
* Licensed under the Apache License, Version 2.0 (the "License");
Original file line number Diff line number Diff line change 1
1
// +build go1.7
2
2
3
3
/*
4
+ *
4
5
* Copyright 2016 gRPC authors.
5
6
*
6
7
* Licensed under the Apache License, Version 2.0 (the "License");
Original file line number Diff line number Diff line change
1
+ /*
2
+ *
3
+ * Copyright 2017 gRPC authors.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ *
17
+ */
18
+
1
19
// This file contains the generated server side code.
2
20
// It's only used for grpclb testing.
3
21
Original file line number Diff line number Diff line change 16
16
*
17
17
*/
18
18
19
- /*
20
- Package glogger defines glog-based logging for grpc.
21
- */
19
+ // Package glogger defines glog-based logging for grpc.
22
20
package glogger
23
21
24
22
import (
Original file line number Diff line number Diff line change 16
16
*
17
17
*/
18
18
19
- /*
20
- Package grpclog defines logging for grpc.
21
- */
19
+ // Package grpclog defines logging for grpc.
22
20
package grpclog // import "google.golang.org/grpc/grpclog"
23
21
24
22
import (
Original file line number Diff line number Diff line change
1
+ /*
2
+ *
3
+ * Copyright 2017 gRPC authors.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ *
17
+ */
18
+
1
19
// Package health provides some utility functions to health-check a server. The implementation
2
20
// is based on protobuf. Users need to write their own implementations if other IDLs are used.
3
21
package health
Original file line number Diff line number Diff line change 1
1
// +build go1.6,!go1.7
2
2
3
3
/*
4
+ *
4
5
* Copyright 2016 gRPC authors.
5
6
*
6
7
* Licensed under the Apache License, Version 2.0 (the "License");
Original file line number Diff line number Diff line change 1
1
// +build go1.7
2
2
3
3
/*
4
+ *
4
5
* Copyright 2016 gRPC authors.
5
6
*
6
7
* Licensed under the Apache License, Version 2.0 (the "License");
Original file line number Diff line number Diff line change 1
1
/*
2
+ *
2
3
* Copyright 2016 gRPC authors.
3
4
*
4
5
* Licensed under the Apache License, Version 2.0 (the "License");
Original file line number Diff line number Diff line change 1
1
/*
2
+ *
2
3
* Copyright 2016 gRPC authors.
3
4
*
4
5
* Licensed under the Apache License, Version 2.0 (the "License");
Original file line number Diff line number Diff line change 16
16
*
17
17
*/
18
18
19
- /*
20
- Package transport defines and implements message oriented communication channel
21
- to complete various transactions (e.g., an RPC).
22
- */
19
+ // Package transport defines and implements message oriented communication
20
+ // channel to complete various transactions (e.g., an RPC).
23
21
package transport // import "google.golang.org/grpc/transport"
24
22
25
23
import (
You can’t perform that action at this time.
0 commit comments