Documentation ¶
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
}
func (*Server) Greeting ¶
func (s *Server) Greeting(ctx context.Context, req *proto.SvcRequest) (*proto.SvcResponse, error)
unary RPC sends back 1 hello world response
func (*Server) StreamGreeting ¶
func (s *Server) StreamGreeting(req *proto.SvcRequest, stream proto.Hello_StreamGreetingServer) error
streaming RPC sends back 5 hello world responses
Click to show internal directories.
Click to hide internal directories.