mirror of
https://github.com/minio/minio.git
synced 2026-11-22 15:13:48 +00:00
Separate out memory statistics and system information into two different services
This commit is contained in:
1 parent
8abb96c030
commit
676b9058de
4 files changed
+58
-12
No files matched your search
@@ -114,8 +114,9 @@ func getRPCHandler() http.Handler {
|
||||
s.RegisterJSONCodec()
|
||||
s.RegisterService(new(rpc.VersionService), "Version")
|
||||
s.RegisterService(new(rpc.SysInfoService), "SysInfo")
|
||||
s.RegisterService(new(rpc.MemStatsService), "MemStats")
|
||||
s.RegisterService(new(rpc.DiskInfoService), "DiskInfo")
|
||||
s.RegisterService(new(rpc.DonutService), "Donut")
|
||||
// Add new services here
|
||||
// Add new RPC services here
|
||||
return registerRPC(router.NewRouter(), s)
|
||||
}
|
||||
Reference in new issue
Block a user