rename rpc/server.go -> rpc/rpc.go. rpc/server.go will accomodate ServerService

This commit is contained in:
Krishna Srinivas
2015-09-15 22:49:52 -07:00
parent f6e3ad889d
commit c49407ced4
5 changed files with 113 additions and 109 deletions
+2 -2
View File
@@ -45,7 +45,7 @@ func (s *MySuite) TearDownSuite(c *C) {
func (s *MySuite) TestMemStats(c *C) {
op := rpc.Operation{
Method: "MemStats.Get",
Method: "Server.MemStats",
Request: rpc.Args{Request: ""},
}
req, err := rpc.NewRequest(testRPCServer.URL+"/rpc", op, http.DefaultTransport)
@@ -63,7 +63,7 @@ func (s *MySuite) TestMemStats(c *C) {
func (s *MySuite) TestSysInfo(c *C) {
op := rpc.Operation{
Method: "SysInfo.Get",
Method: "Server.SysInfo",
Request: rpc.Args{Request: ""},
}
req, err := rpc.NewRequest(testRPCServer.URL+"/rpc", op, http.DefaultTransport)