mirror of
https://github.com/minio/minio.git
synced 2025-11-10 22:10:12 -05:00
@@ -39,7 +39,6 @@ func main() {
|
||||
| Service operations|LockInfo operations|Healing operations|
|
||||
|:---|:---|:---|
|
||||
|[`ServiceStatus`](#ServiceStatus)| | |
|
||||
|[`ServiceStop`](#ServiceStop)| | |
|
||||
|[`ServiceRestart`](#ServiceRestart)| | |
|
||||
|
||||
## 1. Constructor
|
||||
@@ -98,23 +97,6 @@ Fetch service status, replies disk space used, backend type and total disks offl
|
||||
|
||||
```
|
||||
|
||||
<a name="ServiceStop"></a>
|
||||
### ServiceStop() (error)
|
||||
If successful shuts down the running minio service, for distributed setup stops all remote minio servers.
|
||||
|
||||
__Example__
|
||||
|
||||
|
||||
```go
|
||||
|
||||
st, err := madmClnt.ServiceStop()
|
||||
if err != nil {
|
||||
log.Fatalln(err)
|
||||
}
|
||||
log.Printf("Succes")
|
||||
|
||||
```
|
||||
|
||||
<a name="ServiceRestart"></a>
|
||||
### ServiceRestart() (error)
|
||||
If successful restarts the running minio service, for distributed setup restarts all remote minio servers.
|
||||
|
||||
Reference in New Issue
Block a user