mirror of
https://github.com/minio/minio.git
synced 2025-11-06 20:33:07 -05:00
Separate out memory statistics and system information into two different services
This commit is contained in:
@@ -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