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
|
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.
|
published from The Netherlands.
|
||||||
|
|
||||||
https://creativecommons.org/publicdomain/zero/1.0/legalcode
|
https://creativecommons.org/publicdomain/zero/1.0/legalcode
|
||||||
|
14
README.md
14
README.md
@@ -1,4 +1,4 @@
|
|||||||
# MQTT🤖
|
# Go MQTT
|
||||||
|
|
||||||
## About
|
## About
|
||||||
|
|
||||||
@@ -13,8 +13,7 @@ gift to the open-source community.
|
|||||||
This is free and unencumbered software released into the
|
This is free and unencumbered software released into the
|
||||||
[public domain](https://creativecommons.org/publicdomain/zero/1.0).
|
[public domain](https://creativecommons.org/publicdomain/zero/1.0).
|
||||||
|
|
||||||
[](https://pkg.go.dev/github.com/pascaldekloe/mqtt)
|
[](https://pkg.go.dev/github.com/go-mqtt/mqtt)
|
||||||
[](https://travis-ci.org/pascaldekloe/mqtt)
|
|
||||||
|
|
||||||
|
|
||||||
## Introduction
|
## 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
|
from the package documentation provide a good start with detailed configuration
|
||||||
options.
|
options.
|
||||||
|
|
||||||
|
|
||||||
## Command-Line Client
|
## 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
|
NAME
|
||||||
@@ -140,7 +139,7 @@ EXAMPLES
|
|||||||
mqttc -tls q1.example.com:8883 || echo "exit $?"
|
mqttc -tls q1.example.com:8883 || echo "exit $?"
|
||||||
|
|
||||||
BUGS
|
BUGS
|
||||||
Report bugs at <https://github.com/pascaldekloe/mqtt/issues>.
|
Report bugs at <https://github.com/go-mqtt/mqtt/issues>.
|
||||||
|
|
||||||
SEE ALSO
|
SEE ALSO
|
||||||
mosquitto_pub(1)
|
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
|
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
|
suited for IOT. The additions in version 5 may be more of a fit for backend
|
||||||
computing.
|
computing.
|
||||||
|
|
||||||
See the [Broker wiki](https://github.com/pascaldekloe/mqtt/wiki/Brokers) for
|
|
||||||
implementation specifics.
|
|
||||||
|
@@ -13,8 +13,8 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/pascaldekloe/mqtt"
|
"github.com/go-mqtt/mqtt"
|
||||||
"github.com/pascaldekloe/mqtt/mqtttest"
|
"github.com/go-mqtt/mqtt/mqtttest"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TestClient reads the client with assertions and timeouts.
|
// TestClient reads the client with assertions and timeouts.
|
||||||
|
@@ -15,7 +15,7 @@ import (
|
|||||||
"syscall"
|
"syscall"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/pascaldekloe/mqtt"
|
"github.com/go-mqtt/mqtt"
|
||||||
)
|
)
|
||||||
|
|
||||||
const messageMax = 256 * 1024 * 1024
|
const messageMax = 256 * 1024 * 1024
|
||||||
|
@@ -7,8 +7,8 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/pascaldekloe/mqtt"
|
"github.com/go-mqtt/mqtt"
|
||||||
"github.com/pascaldekloe/mqtt/mqtttest"
|
"github.com/go-mqtt/mqtt/mqtttest"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Publish is a method from mqtt.Client.
|
// 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
|
go 1.16
|
||||||
|
@@ -11,7 +11,7 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/pascaldekloe/mqtt"
|
"github.com/go-mqtt/mqtt"
|
||||||
)
|
)
|
||||||
|
|
||||||
// BatchSize is a reasonable number of messages which should not cause any of
|
// BatchSize is a reasonable number of messages which should not cause any of
|
||||||
|
@@ -8,7 +8,7 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/pascaldekloe/mqtt"
|
"github.com/go-mqtt/mqtt"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Transfer defines a message exchange.
|
// Transfer defines a message exchange.
|
||||||
|
@@ -3,8 +3,8 @@ package mqtttest_test
|
|||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/pascaldekloe/mqtt"
|
"github.com/go-mqtt/mqtt"
|
||||||
"github.com/pascaldekloe/mqtt/mqtttest"
|
"github.com/go-mqtt/mqtt/mqtttest"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Signatures
|
// Signatures
|
||||||
|
@@ -10,8 +10,8 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/pascaldekloe/mqtt"
|
"github.com/go-mqtt/mqtt"
|
||||||
"github.com/pascaldekloe/mqtt/mqtttest"
|
"github.com/go-mqtt/mqtt/mqtttest"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestPing(t *testing.T) {
|
func TestPing(t *testing.T) {
|
||||||
|
Reference in New Issue
Block a user