Eunomia  0.1.0
A lightweight eBPF-based CloudNative Monitor tool for Container Security and Observability
http_server.h
Go to the documentation of this file.
1 #ifndef HTTP_EUNOMIA_H
2 #define HTTP_EUNOMIA_H
3 
4 #include "httplib.h"
5 #include "eunomia/eunomia_core.h"
6 
9 {
10 private:
12  std::mutex seq_mutex;
13  httplib::Server server;
14  eunomia_core core;
15  int port;
16 
17 public:
20  ~eunomia_server() = default;
22  void serve(void);
23 };
24 
25 #endif
eunomia_server::serve
void serve(void)
start the server
Definition: http_server.cpp:36
eunomia_server::eunomia_server
eunomia_server(eunomia_config_data &config, int p)
create a server
Definition: http_server.cpp:32
eunomia_config_data
config for eunomia
Definition: config.h:71
eunomia_core
core for building tracker
Definition: eunomia_core.h:28
eunomia_server
eunomia http control API server
Definition: http_server.h:8
eunomia_core.h
config
seccomp_config config
Definition: seccomp_test.cpp:13
eunomia_server::~eunomia_server
~eunomia_server()=default