mirror of
https://github.com/go-mqtt/mqtt.git
synced 2025-08-07 11:42:52 +03:00
Rebranding.
This commit is contained in:
2
LICENSE
2
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
|
||||
|
14
README.md
14
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).
|
||||
|
||||
[](https://pkg.go.dev/github.com/pascaldekloe/mqtt)
|
||||
[](https://travis-ci.org/pascaldekloe/mqtt)
|
||||
[](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 <https://github.com/pascaldekloe/mqtt/issues>.
|
||||
Report bugs at <https://github.com/go-mqtt/mqtt/issues>.
|
||||
|
||||
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.
|
||||
|
@@ -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.
|
||||
|
@@ -15,7 +15,7 @@ import (
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
"github.com/pascaldekloe/mqtt"
|
||||
"github.com/go-mqtt/mqtt"
|
||||
)
|
||||
|
||||
const messageMax = 256 * 1024 * 1024
|
||||
|
@@ -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.
|
||||
|
2
go.mod
2
go.mod
@@ -1,3 +1,3 @@
|
||||
module github.com/pascaldekloe/mqtt
|
||||
module github.com/go-mqtt/mqtt
|
||||
|
||||
go 1.16
|
||||
|
@@ -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
|
||||
|
@@ -8,7 +8,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/pascaldekloe/mqtt"
|
||||
"github.com/go-mqtt/mqtt"
|
||||
)
|
||||
|
||||
// Transfer defines a message exchange.
|
||||
|
@@ -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
|
||||
|
@@ -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) {
|
||||
|
Reference in New Issue
Block a user