Add Donut rpc service for sending changes to configuration files

This commit is contained in:
Harshavardhana
2015-07-06 10:35:23 -07:00
parent 57d634da25
commit 1d64e4b6c1
7 changed files with 67 additions and 13 deletions

View File

@@ -115,6 +115,7 @@ func getRPCHandler() http.Handler {
s.RegisterService(new(rpc.VersionService), "Version")
s.RegisterService(new(rpc.SysInfoService), "SysInfo")
s.RegisterService(new(rpc.DiskInfoService), "DiskInfo")
s.RegisterService(new(rpc.DonutService), "Donut")
// Add new services here
return registerRPC(router.NewRouter(), s)
}