15 std::string bindAddress()
const;
18 std::string designsDir()
const;
19 std::string templatesDir()
const;
21 bool httpTrace()
const;
22 std::string loadDesign()
const;
24 bool disableAuthentication()
const;
25 int cacheMaxMb()
const;
26 int maxBackgroundLoads()
const;
30 std::string getUsageString()
const override;
33 constexpr static const int DEFAULT_PORT = 8888;
34 constexpr static const char *DEFAULT_BIND_ADDRESS =
"0.0.0.0";
35 constexpr static const int DEFAULT_GRPC_PORT = 50051;
36 constexpr static const char* DEFAULT_DESIGNS_DIR =
"designs";
37 constexpr static const char* DEFAULT_TEMPLATES_DIR =
"templates";
38 constexpr static const bool DEFAULT_HELP =
false;
39 constexpr static const bool DEFAULT_HTTP_TRACE =
false;
40 constexpr static const char* DEFAULT_LOAD_DESIGN =
"";
41 constexpr static const bool DEFAULT_LOAD_ALL =
false;
42 constexpr static const bool DEFAULT_DISABLE_AUTH =
false;
43 constexpr static const int DEFAULT_CACHE_MAX_MB = 4096;
44 constexpr static const int DEFAULT_MAX_BACKGROUND_LOADS = 2;