itd/api/set.go

17 lines
180 B
Go
Raw Normal View History

2022-04-22 17:12:30 -07:00
package api
import (
2022-05-01 15:22:28 -07:00
"context"
2022-04-22 17:12:30 -07:00
"time"
)
2022-05-01 15:22:28 -07:00
func (c *Client) SetTime(ctx context.Context, t time.Time) error {
return c.client.Call(
2022-05-01 15:22:28 -07:00
ctx,
"ITD",
2022-04-22 17:12:30 -07:00
"SetTime",
t,
nil,
)
}