1
0
mirror of https://github.com/go-mqtt/mqtt.git synced 2025-08-07 11:42:52 +03:00

Rebranding.

This commit is contained in:
Pascal S. de Kloe
2021-06-27 18:11:10 +02:00
parent 3e2dc3abf6
commit daf7cf26cc
10 changed files with 18 additions and 22 deletions

View File

@@ -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

View File

@@ -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 <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.

View File

@@ -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.

View File

@@ -15,7 +15,7 @@ import (
"syscall"
"time"
"github.com/pascaldekloe/mqtt"
"github.com/go-mqtt/mqtt"
)
const messageMax = 256 * 1024 * 1024

View File

@@ -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
View File

@@ -1,3 +1,3 @@
module github.com/pascaldekloe/mqtt
module github.com/go-mqtt/mqtt
go 1.16

View File

@@ -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

View File

@@ -8,7 +8,7 @@ import (
"testing"
"time"
"github.com/pascaldekloe/mqtt"
"github.com/go-mqtt/mqtt"
)
// Transfer defines a message exchange.

View File

@@ -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

View File

@@ -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) {