diff --git a/LICENSE b/LICENSE index 7cb23f4..2223c94 100644 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,5 @@ To the extent possible under law, Pascal S. de Kloe has waived all -copyright and related or neighboring rights to MQTT🤖. This work is +copyright and related or neighboring rights to Go MQTT. This work is published from The Netherlands. https://creativecommons.org/publicdomain/zero/1.0/legalcode diff --git a/README.md b/README.md index 9cf166a..7b61a5e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# MQTT🤖 +# Go MQTT ## About @@ -13,8 +13,7 @@ gift to the open-source community. This is free and unencumbered software released into the [public domain](https://creativecommons.org/publicdomain/zero/1.0). -[![Go Reference](https://pkg.go.dev/badge/github.com/pascaldekloe/mqtt.svg)](https://pkg.go.dev/github.com/pascaldekloe/mqtt) -[![Build Status](https://travis-ci.org/pascaldekloe/mqtt.svg?branch=master)](https://travis-ci.org/pascaldekloe/mqtt) +[![Go Reference](https://pkg.go.dev/badge/github.com/go-mqtt/mqtt.svg)](https://pkg.go.dev/github.com/go-mqtt/mqtt) ## Introduction @@ -53,14 +52,14 @@ for { } ``` -The [examples](https://pkg.go.dev/github.com/pascaldekloe/mqtt#pkg-examples) +The [examples](https://pkg.go.dev/github.com/go-mqtt/mqtt#pkg-examples) from the package documentation provide a good start with detailed configuration options. ## Command-Line Client -Run `go install github.com/pascaldekloe/mqtt/cmd/mqttc` to build the binary. +Run `go install github.com/go-mqtt/mqtt/cmd/mqttc` to build the binary. ``` NAME @@ -140,7 +139,7 @@ EXAMPLES mqttc -tls q1.example.com:8883 || echo "exit $?" BUGS - Report bugs at . + Report bugs at . SEE ALSO mosquitto_pub(1) @@ -158,6 +157,3 @@ may be added at some point in time. There are no plans to support protocol version 5. Version 3 is lean and well suited for IOT. The additions in version 5 may be more of a fit for backend computing. - -See the [Broker wiki](https://github.com/pascaldekloe/mqtt/wiki/Brokers) for -implementation specifics. diff --git a/client_test.go b/client_test.go index e2c1eff..3322fcd 100644 --- a/client_test.go +++ b/client_test.go @@ -13,8 +13,8 @@ import ( "testing" "time" - "github.com/pascaldekloe/mqtt" - "github.com/pascaldekloe/mqtt/mqtttest" + "github.com/go-mqtt/mqtt" + "github.com/go-mqtt/mqtt/mqtttest" ) // TestClient reads the client with assertions and timeouts. diff --git a/cmd/mqttc/main.go b/cmd/mqttc/main.go index eae2371..dc9f88b 100644 --- a/cmd/mqttc/main.go +++ b/cmd/mqttc/main.go @@ -15,7 +15,7 @@ import ( "syscall" "time" - "github.com/pascaldekloe/mqtt" + "github.com/go-mqtt/mqtt" ) const messageMax = 256 * 1024 * 1024 diff --git a/example_test.go b/example_test.go index 1024f44..e668ad4 100644 --- a/example_test.go +++ b/example_test.go @@ -7,8 +7,8 @@ import ( "log" "time" - "github.com/pascaldekloe/mqtt" - "github.com/pascaldekloe/mqtt/mqtttest" + "github.com/go-mqtt/mqtt" + "github.com/go-mqtt/mqtt/mqtttest" ) // Publish is a method from mqtt.Client. diff --git a/go.mod b/go.mod index e84953d..7ed08ab 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module github.com/pascaldekloe/mqtt +module github.com/go-mqtt/mqtt go 1.16 diff --git a/integration/integration_test.go b/integration/integration_test.go index b279523..640eb20 100644 --- a/integration/integration_test.go +++ b/integration/integration_test.go @@ -11,7 +11,7 @@ import ( "testing" "time" - "github.com/pascaldekloe/mqtt" + "github.com/go-mqtt/mqtt" ) // BatchSize is a reasonable number of messages which should not cause any of diff --git a/mqtttest/mqtttest.go b/mqtttest/mqtttest.go index e957847..fb4ebea 100644 --- a/mqtttest/mqtttest.go +++ b/mqtttest/mqtttest.go @@ -8,7 +8,7 @@ import ( "testing" "time" - "github.com/pascaldekloe/mqtt" + "github.com/go-mqtt/mqtt" ) // Transfer defines a message exchange. diff --git a/mqtttest/mqtttest_test.go b/mqtttest/mqtttest_test.go index 431a500..130742f 100644 --- a/mqtttest/mqtttest_test.go +++ b/mqtttest/mqtttest_test.go @@ -3,8 +3,8 @@ package mqtttest_test import ( "testing" - "github.com/pascaldekloe/mqtt" - "github.com/pascaldekloe/mqtt/mqtttest" + "github.com/go-mqtt/mqtt" + "github.com/go-mqtt/mqtt/mqtttest" ) // Signatures diff --git a/request_test.go b/request_test.go index af4d3b3..4e1cda5 100644 --- a/request_test.go +++ b/request_test.go @@ -10,8 +10,8 @@ import ( "testing" "time" - "github.com/pascaldekloe/mqtt" - "github.com/pascaldekloe/mqtt/mqtttest" + "github.com/go-mqtt/mqtt" + "github.com/go-mqtt/mqtt/mqtttest" ) func TestPing(t *testing.T) {