mirror of
https://github.com/xaionaro-go/streamctl.git
synced 2025-10-21 14:39:29 +08:00
Initial commit, pt. 26
This commit is contained in:
@@ -401,3 +401,8 @@ func (d *StreamD) GetBackendData(ctx context.Context, platID streamcontrol.Platf
|
||||
return nil, fmt.Errorf("unexpected platform ID '%s'", platID)
|
||||
}
|
||||
}
|
||||
|
||||
func (d *StreamD) Restart(ctx context.Context) error {
|
||||
d.UI.Restart(ctx, "A restart was requested")
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user