Typo in PublishWithQOS godoc

* `poken.Token` -> `paho.Token`
This commit is contained in:
James Bradshaw 2020-04-11 19:21:15 -05:00 committed by Ron Evans
parent 6f87167064
commit a31d554138
1 changed files with 1 additions and 1 deletions

View File

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