#include <iostream>
#include <memory>
#include <string>
#include "absl/flags/flag.h"
#include "absl/flags/parse.h"
#include "absl/strings/str_cat.h"
#include <grpcpp/ext/admin_services.h>
#include <grpcpp/ext/proto_server_reflection_plugin.h>
#include <grpcpp/grpcpp.h>
#include <grpcpp/health_check_service_interface.h>
#include <grpcpp/xds_server_builder.h>
#include "helloworld.grpc.pb.h"
Go to the source code of this file.
|
| ABSL_FLAG (bool, secure, true, "Secure mode") |
|
| ABSL_FLAG (int32_t, maintenance_port, 50052, "Server port for maintenance if --secure is used.") |
|
| ABSL_FLAG (int32_t, port, 50051, "Server port for service.") |
|
int | main (int argc, char **argv) |
|
void | RunServer () |
|
◆ ABSL_FLAG() [1/3]
◆ ABSL_FLAG() [2/3]
ABSL_FLAG |
( |
int32_t |
, |
|
|
maintenance_port |
, |
|
|
50052 |
, |
|
|
"Server port for maintenance if --secure is used." |
|
|
) |
| |
◆ ABSL_FLAG() [3/3]
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ RunServer()