itd/api/update.go
2023-04-20 19:54:58 -07:00

13 lines
196 B
Go

package api
import (
"context"
"go.elara.ws/itd/internal/rpc"
)
func (c *Client) WeatherUpdate(ctx context.Context) error {
_, err := c.client.WeatherUpdate(ctx, &rpc.Empty{})
return err
}