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