7 Commits (e14614da9e6c48604efb56da5bac6716281f8987)

Author SHA1 Message Date
Hugo Thunnissen e14614da9e Make whappdc package more self-contained
It's better to have whapp -> DC direction bridge code separate in the whappdc package.

Moved MessageTracker + some BridgeContext methods and made WhappHandler
start-and-stoppable.
5 years ago
Hugo Thunnissen e392242c79 Move most of the initialization steps from main.go to packages
Because it:
- Declutters main.go
- Makes code reusable
5 years ago
Hugo Thunnissen 8e71243dab Add TODO comment to contact message action 5 years ago
Hugo Thunnissen 4099c93203 Actually fix nil pointer dereference
Oops, I was completely wrong and had caused the nil pointer dereference myself.
5 years ago
Hugo Thunnissen 17aa5cc836 Handle nil pointer dereference panic from err.Error() method call. 5 years ago
Hugo Thunnissen c2ed7f9ef3 Rename whapp-handler.go -> whapp_handler.go 5 years ago
Hugo Thunnissen 0666879edb Restructure project into multiple packages 5 years ago