diff --git a/docs/api/api_data.js b/docs/api/api_data.js
index ff047ddd..02307816 100644
--- a/docs/api/api_data.js
+++ b/docs/api/api_data.js
@@ -107,7 +107,7 @@ define({ "api": [
},
{
"title": "ruby:",
- "content": "\nrequire 'json'\nrequire 'net/http'\nrequire 'uri'\n\nuri = URI.parse('http://localhost:3003/timer')\npayload = {\n timeout: 3000, \n data: \"hello world\", \n callback: {\n method: 'post',\n transport: 'http',\n uri: 'http://localhost:4000'\n }\n}\n\nhttp = Net::HTTP.new(uri.host, uri.port)\nrequest = Net::HTTP::Post.new(uri.request_uri, {'Content-Type': 'application/json'})\nrequest.body = payload.to_json\nresponse = http.request(request)\nprint response.code",
+ "content": "\nrequire 'json'\nrequire 'net/http'\nrequire 'uri'\n\nuri = URI.parse('http://localhost:3003/timer')\npayload = {\n timeout: 3000,\n data: \"hello world\",\n callback: {\n method: 'post',\n transport: 'http',\n uri: 'http://localhost:4000'\n }\n}\n\nhttp = Net::HTTP.new(uri.host, uri.port)\nrequest = Net::HTTP::Post.new(uri.request_uri, {'Content-Type': 'application/json'})\nrequest.body = payload.to_json\nresponse = http.request(request)\nprint response.code",
"type": "ruby"
}
],
@@ -251,7 +251,7 @@ define({ "api": [
},
{
"title": "ruby:",
- "content": "\nrequire 'json'\nrequire 'net/http'\nrequire 'uri'\n\nuri = URI.parse('http://localhost:3003/timer/8c66a779-9c74-4e30-b5e8-f32d60909d45')\npayload = {\n timeout: 3000, \n data: \"hello world\", \n callback: {\n method: 'post',\n transport: 'http',\n uri: 'http://localhost:4000'\n }\n}\n\nhttp = Net::HTTP.new(uri.host, uri.port)\nrequest = Net::HTTP::Put.new(uri.request_uri, {'Content-Type': 'application/json'})\nrequest.body = payload.to_json\nresponse = http.request(request)\nprint response.code",
+ "content": "\nrequire 'json'\nrequire 'net/http'\nrequire 'uri'\n\nuri = URI.parse('http://localhost:3003/timer/8c66a779-9c74-4e30-b5e8-f32d60909d45')\npayload = {\n timeout: 3000,\n data: \"hello world\",\n callback: {\n method: 'post',\n transport: 'http',\n uri: 'http://localhost:4000'\n }\n}\n\nhttp = Net::HTTP.new(uri.host, uri.port)\nrequest = Net::HTTP::Put.new(uri.request_uri, {'Content-Type': 'application/json'})\nrequest.body = payload.to_json\nresponse = http.request(request)\nprint response.code",
"type": "ruby"
}
],
diff --git a/docs/api/api_data.json b/docs/api/api_data.json
index c9c16057..f32a7523 100644
--- a/docs/api/api_data.json
+++ b/docs/api/api_data.json
@@ -107,7 +107,7 @@
},
{
"title": "ruby:",
- "content": "\nrequire 'json'\nrequire 'net/http'\nrequire 'uri'\n\nuri = URI.parse('http://localhost:3003/timer')\npayload = {\n timeout: 3000, \n data: \"hello world\", \n callback: {\n method: 'post',\n transport: 'http',\n uri: 'http://localhost:4000'\n }\n}\n\nhttp = Net::HTTP.new(uri.host, uri.port)\nrequest = Net::HTTP::Post.new(uri.request_uri, {'Content-Type': 'application/json'})\nrequest.body = payload.to_json\nresponse = http.request(request)\nprint response.code",
+ "content": "\nrequire 'json'\nrequire 'net/http'\nrequire 'uri'\n\nuri = URI.parse('http://localhost:3003/timer')\npayload = {\n timeout: 3000,\n data: \"hello world\",\n callback: {\n method: 'post',\n transport: 'http',\n uri: 'http://localhost:4000'\n }\n}\n\nhttp = Net::HTTP.new(uri.host, uri.port)\nrequest = Net::HTTP::Post.new(uri.request_uri, {'Content-Type': 'application/json'})\nrequest.body = payload.to_json\nresponse = http.request(request)\nprint response.code",
"type": "ruby"
}
],
@@ -251,7 +251,7 @@
},
{
"title": "ruby:",
- "content": "\nrequire 'json'\nrequire 'net/http'\nrequire 'uri'\n\nuri = URI.parse('http://localhost:3003/timer/8c66a779-9c74-4e30-b5e8-f32d60909d45')\npayload = {\n timeout: 3000, \n data: \"hello world\", \n callback: {\n method: 'post',\n transport: 'http',\n uri: 'http://localhost:4000'\n }\n}\n\nhttp = Net::HTTP.new(uri.host, uri.port)\nrequest = Net::HTTP::Put.new(uri.request_uri, {'Content-Type': 'application/json'})\nrequest.body = payload.to_json\nresponse = http.request(request)\nprint response.code",
+ "content": "\nrequire 'json'\nrequire 'net/http'\nrequire 'uri'\n\nuri = URI.parse('http://localhost:3003/timer/8c66a779-9c74-4e30-b5e8-f32d60909d45')\npayload = {\n timeout: 3000,\n data: \"hello world\",\n callback: {\n method: 'post',\n transport: 'http',\n uri: 'http://localhost:4000'\n }\n}\n\nhttp = Net::HTTP.new(uri.host, uri.port)\nrequest = Net::HTTP::Put.new(uri.request_uri, {'Content-Type': 'application/json'})\nrequest.body = payload.to_json\nresponse = http.request(request)\nprint response.code",
"type": "ruby"
}
],
diff --git a/docs/api/api_project.js b/docs/api/api_project.js
index c72ebe37..7c86ee71 100644
--- a/docs/api/api_project.js
+++ b/docs/api/api_project.js
@@ -6,7 +6,7 @@ define({
"apidoc": "0.2.0",
"generator": {
"name": "apidoc",
- "time": "2017-06-11T19:41:09.658Z",
+ "time": "2017-07-03T12:25:57.507Z",
"url": "http://apidocjs.com",
"version": "0.16.1"
}
diff --git a/docs/api/api_project.json b/docs/api/api_project.json
index 62dfbbea..7e1799c5 100644
--- a/docs/api/api_project.json
+++ b/docs/api/api_project.json
@@ -6,7 +6,7 @@
"apidoc": "0.2.0",
"generator": {
"name": "apidoc",
- "time": "2017-06-11T19:41:09.658Z",
+ "time": "2017-07-03T12:25:57.507Z",
"url": "http://apidocjs.com",
"version": "0.16.1"
}
diff --git a/docs/classes.list.html b/docs/classes.list.html
index acf43778..d26099bf 100644
--- a/docs/classes.list.html
+++ b/docs/classes.list.html
@@ -240,7 +240,7 @@
Search results
Documentation generated by JSDoc 3.4.3
- on 2017-06-11T14:41:09-05:00
+ on 2017-07-03T07:25:57-05:00
using the DocStrap template.
diff --git a/docs/index.html b/docs/index.html
index 23ed72ac..66ba7270 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -100,7 +100,7 @@
- ![skyring](https://github.com/esatterwhite/skyring/raw/master/assets/skyring-inverted.png)
+ ![skyring](https://github.com/esatterwhite/skyring/raw/master/assets/skyring.png)
@@ -113,7 +113,7 @@
Skyring
A distributed reliable timer service providing similar functionality to using setTimeout
.
Skyring
servers are clustered into a hashring using consistent hashing to partition timers to specific nodes in the ring. Skyring exposes a simple HTTP API That allows to you create and cancel timers. Timer execution comes in to the form of an HTTP webhook ( more transports to come )
-Architechture Overview
![](https://raw.githubusercontent.com/esatterwhite/skyring/master/assets/skyring-arch-inverted.png)
+Architechture Overview
![](https://raw.githubusercontent.com/esatterwhite/skyring/master/assets/skyring-arch.png)
Install
npm install -s skyring
Run A Local Cluster
Start a nats instance
Download the nats binary and start it using the defaults
$ gnats -D -V
To verify that it is working, you can telnet
directly to the server and ping it.
$ telnet localhost 42222
@@ -242,7 +242,7 @@ Search results
Documentation generated by JSDoc 3.4.3
- on 2017-06-11T14:41:09-05:00
+ on 2017-07-03T07:25:57-05:00
using the DocStrap template.
@@ -333,4 +333,4 @@ Search results