eclipse / paho.golang

Go libraries
Other
327 stars 92 forks source link

license - clarify licensing in line with Eclipse Paho standard #224

Closed MattBrittan closed 7 months ago

MattBrittan commented 7 months ago

Previously there was a LICENSE file (EPL-V2) and a DISTRIBUTION file (EDL-1); this was not completely clear (as pointed out in issue #223).

This PR copies the license files from paho.mqtt.golang (which follow the standard set in the C library, with tweaks so pkg.go.dev will display the docs). The PR also introduces copyright headers in all Go files as required by the eclipse licensing documentation (https://www.eclipse.org/projects/tools/documentation.php?id=iot.paho).

closes #223