mqtt_utils
mqtt_utils
A set if MQTT related utility methods (well, actually, only one method is implemented) in Crystal (WIP)
Installation
-
Add the dependency to your
shard.yml
:dependencies: mqtt_utils: github: E63T/mqtt_utils
-
Run
shards install
Usage
require "mqtt_utils"
info = MQTTUtils::RouteInfo.parse "d2p/message_type_method/g/gateway/d/device/r/reference"
puts info.gateway_key # => gateway
Development
TODO: Write development instructions here
Contributing
- Fork it (https://github.com/unn4m3d/mqtt_utils/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- unn4m3d - creator and maintainer
Repository
mqtt_utils
Owner
Statistic
- 1
- 0
- 0
- 0
- 2
- almost 3 years ago
- December 28, 2021
License
MIT License
Links
Synced at
Fri, 22 Nov 2024 00:39:03 GMT
Languages