(ws) add subcommands: cobra subscribe, and cobra subscribe to statsd bridge

This commit is contained in:
Benjamin Sergeant
2019-04-08 21:52:20 -07:00
parent 6e3dff149a
commit c2a9139d41
28 changed files with 1008 additions and 8246 deletions

18
ws/ws.h
View File

@ -52,4 +52,22 @@ namespace ix
const std::string& password,
const std::string& channel,
bool verbose);
int ws_cobra_subscribe_main(const std::string& appkey,
const std::string& endpoint,
const std::string& rolename,
const std::string& rolesecret,
const std::string& channel,
bool verbose);
int ws_cobra_to_statsd_main(const std::string& appkey,
const std::string& endpoint,
const std::string& rolename,
const std::string& rolesecret,
const std::string& channel,
const std::string& host,
int port,
const std::string& prefix,
const std::string& fields,
bool verbose);
}