platform: Add GetStartedAt for StartedService

This commit is contained in:
世界
2025-12-27 13:53:01 +08:00
parent 24b33a43fc
commit 95ccb837d3
5 changed files with 166 additions and 50 deletions

View File

@@ -466,6 +466,19 @@ func (c *CommandClient) GetDeprecatedNotes() (DeprecatedNoteIterator, error) {
return newIterator(notes), nil
}
func (c *CommandClient) GetStartedAt() (int64, error) {
client, err := c.getClientForCall()
if err != nil {
return 0, err
}
startedAt, err := client.GetStartedAt(context.Background(), &emptypb.Empty{})
if err != nil {
return 0, err
}
return startedAt.StartedAt, nil
}
func (c *CommandClient) SetGroupExpand(groupTag string, isExpand bool) error {
client, err := c.getClientForCall()
if err != nil {