Documentation
¶
Overview ¶
Package grpc provides a simple gRPC server that acts as a probe target.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server implements a gRPCServer.
func (*Server) Echo ¶
func (s *Server) Echo(ctx context.Context, req *spb.EchoMessage) (*spb.EchoMessage, error)
Echo reflects back the incoming message.
func (*Server) ServerStatus ¶
func (s *Server) ServerStatus(ctx context.Context, req *spb.StatusRequest) (*spb.StatusResponse, error)
ServerStatus returns the current server status.
Click to show internal directories.
Click to hide internal directories.