mirror of
https://github.com/minio/minio.git
synced 2026-11-22 15:13:48 +00:00
Add simple Version and GetSysInfo services
This commit is contained in:
1 parent
14ec42d646
commit
84810162f5
2 files changed
+77
-3
No files matched your search
@@ -112,6 +112,8 @@ func RPCHandler() http.Handler {
|
||||
s := rpc.NewServer()
|
||||
s.RegisterJSONCodec()
|
||||
s.RegisterService(new(rpc.HelloService), "")
|
||||
s.RegisterService(new(rpc.VersionService), "")
|
||||
s.RegisterService(new(rpc.GetSysInfoService), "")
|
||||
// add more services here
|
||||
return registerRPC(router.NewRouter(), s)
|
||||
}
|
||||
Reference in new issue
Block a user