mirror of
https://github.com/hybridgroup/gobot.git
synced 2025-04-26 13:48:49 +08:00
Typo in PublishWithQOS godoc
* `poken.Token` -> `paho.Token`
This commit is contained in:
parent
6f87167064
commit
a31d554138
@ -155,7 +155,7 @@ func (a *Adaptor) PublishAndRetain(topic string, message []byte) bool {
|
||||
return true
|
||||
}
|
||||
|
||||
// PublishWithQOS allows per-publish QOS values to be set and returns a poken.Token
|
||||
// PublishWithQOS allows per-publish QOS values to be set and returns a paho.Token
|
||||
func (a *Adaptor) PublishWithQOS(topic string, qos int, message []byte) (paho.Token, error) {
|
||||
if a.client == nil {
|
||||
return nil, ErrNilClient
|
||||
|
Loading…
x
Reference in New Issue
Block a user