#pragma once
#include <string>

// 连接信息
struct tagSetup
{
    unsigned int port;
    std::string addr;
    std::string user;
    std::string password;
    std::string db;
};

class EventSubInterface
{
public:
    virtual void SubCB(const std::string topic, const std::string msg) = 0;
};
