Initial contribution
add correct library location to samples
fix some things

Change-Id: Id535436ee9da264fba604974f2ce2cb365435f86
Signed-off-by: Seth Hoenig <seth.a.hoenig@gmail.com>
fix levels on some trace lines

Change-Id: I247eaf33309e8cdcf3968fc43aecfc1ec1c4176d
Signed-off-by: Seth Hoenig <seth.a.hoenig@gmail.com>
add required legal files
Merge branch 'master' of ssh://git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang
Add contributing file
use TopicName and TopicFilter instead of interface{}

Change-Id: Ibe1ea94fb44716bdba57e0bb4780678c30a4d51a
Signed-off-by: Seth Hoenig <seth.a.hoenig@gmail.com>
update samples, comment out tests that do not run against mosquitto

Change-Id: I3c4cecb8e62c23ecd037d99cc2e72833693ed60d
Signed-off-by: Seth Hoenig <seth.a.hoenig@gmail.com>
eliminate interface{} from public api aside from trace formatting

Change-Id: I7f7def6ff2cb8dab246f6a299c861e364d3f35f0
Signed-off-by: Seth Hoenig <seth.a.hoenig@gmail.com>
provide a reference to client in callbacks

Change-Id: I45284f45a9fd956d6dc468fa53818b4b28c53f3c
Signed-off-by: Seth Hoenig <seth.a.hoenig@gmail.com>
Use bufio to only read whole packets at a time from the network
Forgot to account for longer msg lengths in main network loop. Needs closer attention to make neater
Fix up some more of the net issues
Consolidate the stop channels to only use a single channel, make internal connect a function that returns the connack return code rather than a goroutine and channel
change chan bool to chan struct{} for notification, remove unused functions, change functions names to match conventions.
update defers for convention of coming after the call they relate to
fix Fatalf usage in tests to show err

Change-Id: I7ecfef8ec7db9d9198da38a62c9ead825714a3b9
Signed-off-by: Seth Hoenig <seth.a.hoenig@gmail.com>
set websocket payload as binary and change websocket subprotocol
Ability to set write deadline, and bugfixes

If the connection is dropped and a message is in the process of being published, it will block and
prevent the ping handling from realizing that the connection has been lost. By allowing the user
to set a write deadline, they specify the max time we should block until we error on the publish
with a timeout.

Signed-off-by: Christie Deiters <cdeiters@lutron.com>