This work is in early development and is not ready for production.
-
Either
-
Create a run.sh file next to main.go
-
chmod +x run.sh
-
Fill it it with following:
export GOPATH=$GOPATH:~/path/go-ddp-client export MY_USERNAME='username' export MY_PASSWORD='password' go run main.go mysite.com 3000 websocket
-
-
Or just use:
MY_USERNAME='username' MY_PASSWORD='password' go run main.go mysite.com 3000 websocket
- connects to remote host and gets session id
- login/logout
- ping-pong
- subscribe/unsubscribe, handling of client side collections
- method call
Based on the DDP specification and DDP Analyzer.