-
Notifications
You must be signed in to change notification settings - Fork 1
ServerStop
Samuel Grant edited this page Jun 23, 2020
·
4 revisions
Stops a virtual server
Notes:
- Connected clients will be disconnected
| Name | Type | Description |
|---|---|---|
| sid | int64 | Server ID for the target virtual server |
| Type | Description |
|---|---|
| *status | Query Response |
| error |
qres, err := client.ServerStop(sid)
if err != nil || !qres.IsSuccess() {
// Handle error or rejected server query
}