kong.ko
bentuk tidak baku: kongkow
v Jk bercakap-cakap yang tidak ada artinya; mengobrol
This is sample code used in Qiscus TechTalk #97 presentation at EDS, Jl. Asem Kranji K-7, Sekip, Yogyakarta. You can see slide presentation here z
- GO 1.8
- EMQTT 2.2
- Glide package management
Instead installing dependencies and build it manually, you can use precompiled binary if you are using Ubuntu (this binary compiled in Ubuntu 16.04, but may still running in higher version).
$ ./out/kongko.bin --addr localhost:9000 --ws-addr ws://localhost:8083/mqttInstall using glide,
$ glide installThen build it,
$ go build -o out/kongko.bin -i cmd/kongko/main.goFinally, run it:
$ ./out/kongko.bin --addr localhost:9000 --ws-addr ws://localhost:8083/mqtt