|
Covalent Bond
0.0.1-alpha
'covalent bond' is a data middle office. As a 2022-2023 Fall SWE final project.
|
Go to the documentation of this file. 1 #ifndef __SERVER_LIVE_THREAD_HPP_
2 #define __SERVER_LIVE_THREAD_HPP_
10 #if defined(__unix__) && defined(__clang__)
19 frontThread(
unsigned short httpServerPort,
const std::string& name,
const std::string& describe)
29 if (access(
"./index.html", F_OK)) {
30 std::ofstream fp(
"./index.html");
31 fp <<
"<html>Hello World!</html>";
46 #endif //! __SERVER_LIVE_THREAD_HPP_
cb::utils::sysInfo m_sysInfo
char osInfo[CFG_CHAR_NUMS_DOUBLE]
frontThread(unsigned short httpServerPort, const std::string &name, const std::string &describe)
trivial::cacheFile m_cacheFile
unsigned short m_httpServerPort
char describe[CFG_CHAR_NUMS]
void getOsInfo(sysInfo &si)
bool writeCacheFileBinary(const cacheFile &cf)
Manage all config file. Write to Binary.
char m_osInfo[__DESCRIBE_CHAR_MAX_NUMS_DOUBLE]
void getMemoryInfo(sysInfo &si)
utils/sysStatus.hpp ... To get the infomation of system. For both windows and unix....