Documentation
¶
Overview ¶
Package echo contains the libraries for running an Echo server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
pb.UnimplementedEchoServer
}
Server is an echo server used for testing.
func (*Server) Echo ¶
func (s *Server) Echo(ctx context.Context, req *pb.EchoRequest) (*pb.EchoResponse, error)
Echo uses the message, Msg, in EchoRequest to formulate EchoResponse.
Click to show internal directories.
Click to hide internal directories.