Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
brpc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
brpc
Commits
c5803e77
Commit
c5803e77
authored
Sep 30, 2018
by
gejun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some copyrights
parent
ce12fd20
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
9 deletions
+7
-9
client.cpp
example/grpc_c++/client.cpp
+1
-1
server.cpp
example/grpc_c++/server.cpp
+1
-3
grpc.cpp
src/brpc/grpc.cpp
+1
-1
grpc.h
src/brpc/grpc.h
+1
-1
reader_writer.h
src/butil/reader_writer.h
+2
-2
brpc_grpc_protocol_unittest.cpp
test/brpc_grpc_protocol_unittest.cpp
+1
-1
No files found.
example/grpc_c++/client.cpp
View file @
c5803e77
// Copyright (c) 2018
Bilibili, Inc
.
// Copyright (c) 2018
brpc authors
.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
...
...
example/grpc_c++/server.cpp
View file @
c5803e77
// Copyright (c) 2018
Bilibili, Inc
.
// Copyright (c) 2018
brpc authors
.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
...
...
@@ -43,8 +43,6 @@ public:
cntl
->
set_response_compress_type
(
brpc
::
COMPRESS_TYPE_GZIP
);
}
res
->
set_message
(
"Hello "
+
req
->
name
());
// If an error happens, use controller::set_grpc_error_code to set errors
// e.g., cntl->set_grpc_error_code(brpc::GRPC_RESOURCEEXHAUSTED, "test grpc message");
}
};
...
...
src/brpc/grpc.cpp
View file @
c5803e77
// Copyright (c) 2018
Bilibili, Inc
.
// Copyright (c) 2018
brpc authors
.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
...
...
src/brpc/grpc.h
View file @
c5803e77
// Copyright (c) 2018
Bilibili, Inc
.
// Copyright (c) 2018
brpc authors
.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
...
...
src/butil/reader_writer.h
View file @
c5803e77
// Copyright (c) 2018
Bilibili, Inc
.
// Copyright (c) 2018
brpc authors
.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
...
...
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// Author: Ge,Jun (
gejun@bilibili
.com)
// Author: Ge,Jun (
jge666@gmail
.com)
// Date: Wed Aug 8 05:51:33 PDT 2018
#ifndef BUTIL_READER_WRITER_H
...
...
test/brpc_grpc_protocol_unittest.cpp
View file @
c5803e77
// Copyright (c) 2018
Bilibili, Inc
.
// Copyright (c) 2018
brpc authors
.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment