MCPcopy Create free account
hub / github.com/apache/brpc / AddService

Method AddService

src/brpc/server.cpp:1600–1605  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1598 {}
1599
1600int Server::AddService(google::protobuf::Service* service,
1601 ServiceOwnership ownership) {
1602 ServiceOptions options;
1603 options.ownership = ownership;
1604 return AddServiceInternal(service, false, options);
1605}
1606
1607int Server::AddService(google::protobuf::Service* service,
1608 ServiceOwnership ownership,

Callers 15

mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls 1

as_stringMethod · 0.45

Tested by 15

SetUpMethod · 0.64
TESTFunction · 0.64
MongoTestMethod · 0.64
TEST_FFunction · 0.64
TEST_FFunction · 0.64
NovaTestMethod · 0.64
SofaTestMethod · 0.64
TEST_FFunction · 0.64
TEST_FFunction · 0.64
TEST_FFunction · 0.64
TEST_FFunction · 0.64
GrpcTestMethod · 0.64