github.com/swiftstack/proxyfs@v0.0.0-20201223034610-5434d919416e/retryrpc/rpctest/api.go (about) 1 package rpctest 2 3 // rcptest is a set of RPC methods used to test retryrpc 4 5 import () 6 7 // PingReq is the request object for RpcPing 8 type PingReq struct { 9 Message string 10 } 11 12 // PingReply is the response object for RpcPutLocation 13 type PingReply struct { 14 Message string 15 } 16 17 type Server struct{} 18 19 // NewServer creates the Server object and returns the pointer 20 func NewServer() *Server { 21 s := Server{} 22 23 return &s 24 }