Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abo/mqpp
MQTT Packet Parser
https://github.com/abo/mqpp
mqtt mqtt-packet-parser parser
Last synced: 9 days ago
JSON representation
MQTT Packet Parser
- Host: GitHub
- URL: https://github.com/abo/mqpp
- Owner: abo
- License: apache-2.0
- Created: 2016-11-15T08:34:46.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-12-15T01:14:50.000Z (about 8 years ago)
- Last Synced: 2024-11-11T07:19:31.159Z (2 months ago)
- Topics: mqtt, mqtt-packet-parser, parser
- Language: Go
- Size: 43 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mqpp
MQTT Packet ParserUsage
---
```
package mainimport "github.com/abo/mqpp"
func main() {
...
splitter := mqpp.NewSplitter(r)
for splitter.Scan() {
p, err := splitter.Packet()
if err != nil {
}
....
}if err := splitter.Err(); err != nil {
}
}
```