fastinahurry/server_main.cc
xbazzi 8861f112f8
All checks were successful
Simple Mirror to GitHub / mirror (push) Successful in 11s
Remove all that nasty html
2025-08-18 21:53:24 -06:00

20 lines
425 B
C++

#include <iostream>
#include <sstream>
void RunServer(std::string);
void print_help() {
std::ostringstream ss;
ss << "Usage: ./build/server <port>" << std::endl;
std::cout << ss.str();
}
int main(int argc, char** argv) {
std::cout << "Starting gRPC market data server..." << std::endl;
if (argc != 2) {
print_help();
return 1;
};
RunServer(std::string(argv[1]));
return 0;
}