ws: new command to subscribe to a cobra server and send an event to a sentry server

This commit is contained in:
Benjamin Sergeant
2019-04-11 16:03:05 -07:00
parent c2a9139d41
commit fbf80b9f50
11 changed files with 511 additions and 65 deletions

10
ws/ws.h
View File

@ -70,4 +70,14 @@ namespace ix
const std::string& prefix,
const std::string& fields,
bool verbose);
int ws_cobra_to_sentry_main(const std::string& appkey,
const std::string& endpoint,
const std::string& rolename,
const std::string& rolesecret,
const std::string& channel,
const std::string& dsn,
bool verbose,
bool strict,
int jobs);
}