This repository has been archived by the owner on Jun 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add spdlog for logging, check result to avoid crash when get unexpect…
… redirect reponse
- Loading branch information
1 parent
4ebb475
commit 1df7254
Showing
10 changed files
with
201 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
{ | ||
"cmake.configureSettings": { | ||
"CMAKE_TOOLCHAIN_FILE": "C://vcpkg//vcpkg//scripts//buildsystems//vcpkg.cmake", | ||
"VCPKG_TARGET_TRIPLET": "x64-windows-static", | ||
"CMAKE_TOOLCHAIN_FILE": "/root/vcpkg/scripts/buildsystems/vcpkg.cmake", | ||
}, | ||
"C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools" | ||
|
||
"C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools", | ||
"files.associations": { | ||
"thread": "cpp" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#pragma once | ||
|
||
#include<optional> | ||
#include<string_view> | ||
#include<memory> | ||
#include <optional> | ||
#include <string_view> | ||
#include <memory> | ||
|
||
#include<httplib.h> | ||
std::unique_ptr<httplib::Client> login(const std::string_view src_url,std::optional<std::string_view> login_check_path = {}); | ||
#include <httplib.h> | ||
std::unique_ptr<httplib::Client> login(const std::string_view src_url, std::optional<std::string_view> login_check_path = {}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#pragma once | ||
|
||
#include<string_view> | ||
#include<optional> | ||
#include <string_view> | ||
#include <optional> | ||
|
||
//send default null message means success | ||
void send_daily_report_mail(std::string_view title, std::string_view context=""); | ||
void send_daily_report_mail(std::string_view title, std::string_view context = ""); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#pragma once | ||
|
||
#include<string> | ||
#include<optional> | ||
#include <string> | ||
#include <optional> | ||
|
||
std::optional<std::string> report_now(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.