mirror of
https://github.com/minio/minio.git
synced 2025-11-06 20:33:07 -05:00
Add simple Version and GetSysInfo services
This commit is contained in:
@@ -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