Add Donut rpc service for sending changes to configuration files

This commit is contained in:
Harshavardhana committed 2015-07-06 11:10:06 -07:00
1 parent 57d634da25
commit 1d64e4b6c1
7 files changed
+67 -13

No files matched your search

+1
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)
}