forked from Elara6331/itd
Add context support and update lrpc
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
package api
|
||||
|
||||
func (c *Client) WeatherUpdate() error {
|
||||
import "context"
|
||||
|
||||
func (c *Client) WeatherUpdate(ctx context.Context) error {
|
||||
return c.client.Call(
|
||||
ctx,
|
||||
"ITD",
|
||||
"WeatherUpdate",
|
||||
nil,
|
||||
|
||||
Reference in New Issue
Block a user