RTBKit  0.9
Open-source framework to create real-time ad bidding systems.
soa/service/js/service_js.cc
00001 
00010 #include "v8.h"
00011 #include "service_js.h"
00012 #include "soa/js/js_registry.h"
00013 
00014 using namespace std;
00015 using namespace v8;
00016 
00017 
00018 namespace Datacratic {
00019 namespace JS {
00020 
00021 const char * const serviceModule = "services";
00022 
00023 // Node.js initialization function; called to set up the service object
00024 extern "C" void
00025 init(Handle<v8::Object> target)
00026 {
00027     Datacratic::JS::registry.init(target, serviceModule);
00028 }
00029 
00030 
00031 } // namepsace JS
00032 } // namespace Datacratic
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator