Coder Social home page Coder Social logo

srishina / mqtt.go Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 275 KB

mqtt.go is a client library for the MQTTv5 protocol, written in Go. The users of the client library can use pull or push mechanism to receive messages.

License: MIT License

Go 100.00%
client go golang golang-library library mqtt mqtt-client mqtt-protocol mqtt5 mqttv5

mqtt.go's People

Contributors

srishina avatar

Watchers

 avatar

mqtt.go's Issues

List of known limitations?

Hi,

In reviewing this library, I notice it doesn't implement client-side persistence for QoS>0, to facilitate retransmission in the case of disconnects or restarts. There appears to be an empty storage.go.

Is there a list of features that are planned but not yet implemented? Perhaps a comparison against the MQTTv5 spec of necessary client behaviors?

Thanks!

i think your library should parse that and instantiate a correct client, but.

u, err := url.Parse(broker)

I don't understand.
you parse the broker's address
u, err := url.Parse(broker)
how can the broker be behind a websocket in a go-client. When your client is go, you do not connect via websocket do you? You pick the schema based on who you are, not based who the broker is.

I can see maybe tha the client would want to select the transport, a go client can't select a websocket transport and webclient can;t select tcp tranport. So i see some schisophreny here. Think of use cases and document in these examples when are you giving the client the choice and when are you giving the broker (the backend) a choice. The client needs to understand whose choice they are exercising.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.