Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix register doc

  • Loading branch information...
commit c0d4aa4fb0b6dadd17abcb87023a24a558b218af 1 parent bdfaa4d
Ryan Day authored
Showing with 11 additions and 2 deletions.
  1. +11 −2 README.md
13 README.md
View
@@ -1,4 +1,3 @@
-
s3-service-registry
===================
@@ -47,7 +46,17 @@ instance = ctor(s3key,s3secret,bucket)
```
## instance methods
-register(service)
+### register(service,host,port,data,cb)
+ - service
+ the name of the service
+ - host
+ the host name which can be accessed by people looking for the service
+ - port
+ the service port
+ - data (optional)
+ an object of custom data you would like to store in the service file
+ - cb
+ callback
### online(service,check,cb)
- service (optional)
Please sign in to comment.
Something went wrong with that request. Please try again.