github.com/swiftstack/ProxyFS@v0.0.0-20210203235616-4017c267d62f/retryrpc/rpctest/api.go (about)

     1  // Copyright (c) 2015-2021, NVIDIA CORPORATION.
     2  // SPDX-License-Identifier: Apache-2.0
     3  
     4  package rpctest
     5  
     6  // rcptest is a set of RPC methods used to test retryrpc
     7  
     8  import ()
     9  
    10  // PingReq is the request object for RpcPing
    11  type PingReq struct {
    12  	Message string
    13  }
    14  
    15  // PingReply is the response object for RpcPutLocation
    16  type PingReply struct {
    17  	Message string
    18  }
    19  
    20  type Server struct{}
    21  
    22  // NewServer creates the Server object and returns the pointer
    23  func NewServer() *Server {
    24  	s := Server{}
    25  
    26  	return &s
    27  }