Eunomia  0.1.0
A lightweight eBPF-based CloudNative Monitor tool for Container Security and Observability
http_server.cpp File Reference
#include "eunomia/http_server.h"
#include <spdlog/spdlog.h>
#include <json.hpp>
#include "eunomia/config.h"
Include dependency graph for http_server.cpp:

Macros

#define get_from_json_at(name)
 

Macro Definition Documentation

◆ get_from_json_at

#define get_from_json_at (   name)
Value:
try \
{ \
j.at(#name).get_to(data.name); \
} \
catch (...) \
{ \
spdlog::warn("{} use default value", #name); \
}
warn
#define warn(...)
Definition: syscall_helpers.c:12