mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-17 21:23:58 +00:00
wifi/espat, rtl8720dn, wifinina, net: modify to use Adapter interface
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ func NewClient(o *ClientOptions) Client {
|
||||
}
|
||||
|
||||
type mqttclient struct {
|
||||
adaptor net.DeviceDriver
|
||||
adaptor net.Adapter
|
||||
conn net.Conn
|
||||
connected bool
|
||||
opts *ClientOptions
|
||||
|
||||
+1
-1
@@ -175,7 +175,7 @@ type ClientOptionsReader struct {
|
||||
|
||||
// ClientOptions contains configurable options for an MQTT Client.
|
||||
type ClientOptions struct {
|
||||
Adaptor net.DeviceDriver
|
||||
Adaptor net.Adapter
|
||||
|
||||
//Servers []*url.URL
|
||||
Servers string
|
||||
|
||||
Reference in New Issue
Block a user