forked from Elara6331/itd
Switch from custom socket API to rpcx
This commit is contained in:
12
api/update.go
Normal file
12
api/update.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package api
|
||||
|
||||
import "context"
|
||||
|
||||
func (c *Client) WeatherUpdate() error {
|
||||
return c.itdClient.Call(
|
||||
context.Background(),
|
||||
"WeatherUpdate",
|
||||
nil,
|
||||
nil,
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user