Hi, guys. I've recently written an authentication/authorization plugin for mosquitto, a well known open-source MQTT broker, using cgo. The basic idea was to export some Go functions to mosquitto's C plugin interface, and write all the logic in Go. It implements a bunch of backends available, and also offers the possibility to add your own using the "plugin" package.
I was hoping someone could find it useful, and also to receive ideas on any missing backend that you'd like to see implemented. Also, I'd love some criticism/feedback, as this is my first "real" open-source project. Of course, there are some "issues" I'm aware of, such as a lot of exported thing that really shouldn't be (though they are not exposed to the C code, so it isn't thaaat troublesome) and that I'll refactor soon. But if you see anything that raises a warning, seems odd or is plain wrong, please give me a heads up: I'll very much appreciate it. Here's the repo for the project: https://github.com/iegomez/mosquitto-go-auth. Cheers! -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.