feat: set labels in NodeContext/Info
This commit is contained in:
@@ -5,15 +5,18 @@
|
||||
#include "NodeInfo.h"
|
||||
#include <functional>
|
||||
#include <string>
|
||||
#include <initializer_list>
|
||||
#include "Config.h"
|
||||
|
||||
class NodeContext {
|
||||
public:
|
||||
NodeContext();
|
||||
NodeContext(std::initializer_list<std::pair<String, String>> initialLabels);
|
||||
~NodeContext();
|
||||
WiFiUDP* udp;
|
||||
String hostname;
|
||||
IPAddress localIP;
|
||||
NodeInfo self;
|
||||
std::map<String, NodeInfo>* memberList;
|
||||
Config config;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user