Refactoring for HomeKit client

This commit is contained in:
Alexey Khit
2022-11-08 12:24:26 +03:00
parent 149d1bf235
commit f77db44529
6 changed files with 89 additions and 75 deletions
+2 -2
View File
@@ -8,10 +8,10 @@ import (
)
type Client struct {
client *homekit.Client
client *homekit.Conn
}
func NewClient(client *homekit.Client) *Client {
func NewClient(client *homekit.Conn) *Client {
return &Client{client: client}
}