Skip to content

E63T/mqtt_utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mqtt_utils

A set if MQTT related utility methods (well, actually, only one method is implemented) in Crystal (WIP)

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      mqtt_utils:
        github: E63T/mqtt_utils
  2. 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

  1. Fork it (https://github.com/unn4m3d/mqtt_utils/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

About

A set of MQTT-related utils (WIP)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published