Permalink
Browse files

update README

  • Loading branch information...
plucury committed Jun 4, 2012
1 parent 0775917 commit b270c2395b0013c03023730c1ef04960a695cba2
Showing with 14 additions and 3 deletions.
  1. +14 −3 README.md
View
@@ -1,4 +1,15 @@
-mqtt.go
-=======
+#mqtt.go
+
+an MQTT encoder & decoder,written in GO lang (*version 1.0.1*)
+
+##Functions
+* `func Encode(mqtt *Mqtt) (byte[], error)`
+
+ Convert Mqtt struct to bit stream.
+
+* `func Decode(bitstream byte[]) (*Mqtt, error)`
+
+ Convert bit stream to Mqtt struct
+
+
-an MQTT encoder & decoder,written in GO lang

0 comments on commit b270c23

Please sign in to comment.