DJDNS / go-deje

Golang library for DEJE Next, a protocol/technology for decentralized document hosting and concurrent editing.
GNU Lesser General Public License v2.1
8 stars 0 forks source link

Add convenience function to turn URL+Callback into SimpleClient #26

Closed MaddieM4 closed 10 years ago

MaddieM4 commented 10 years ago

Using NewSimpleClient should actually be unusual. Most of the time we will use a single deje:// URL to define what ws:// URL and topic to use, and we'll also care about providing a PrimitiveCallback.

So we want to provide two functions: