Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 950 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 950 Bytes

Go DDP Client

A golang ddp client for meteor

This work is in early development and is not ready for production.

To run

  • Either

    1. Create a run.sh file next to main.go

    2. chmod +x run.sh

    3. 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
    

What works

  1. connects to remote host and gets session id
  2. login/logout
  3. ping-pong

Development checklist

  1. subscribe/unsubscribe, handling of client side collections
  2. method call

Based on the DDP specification and DDP Analyzer.