Esempio n. 1
0
func _Events_GetEvents_Handler(srv interface{}, stream grpc.ServerStream) error {
	m := new(EventQuery)
	if err := stream.RecvMsg(m); err != nil {
		return err
	}
	return srv.(EventsServer).GetEvents(m, &eventsGetEventsServer{stream})
}
Esempio n. 2
0
func _TestService_StreamingOutputCall_Handler(srv interface{}, stream grpc.ServerStream) error {
	m := new(StreamingOutputCallRequest)
	if err := stream.RecvMsg(m); err != nil {
		return err
	}
	return srv.(TestServiceServer).StreamingOutputCall(m, &testServiceStreamingOutputCallServer{stream})
}
Esempio n. 3
0
func _Projects_List_Handler(srv interface{}, stream grpc.ServerStream) error {
	m := new(ProjectQuery)
	if err := stream.RecvMsg(m); err != nil {
		return err
	}
	return srv.(ProjectsServer).List(m, &projectsListServer{stream})
}
Esempio n. 4
0
func _Resources_List_Handler(srv interface{}, stream grpc.ServerStream) error {
	m := new(ResourceQuery)
	if err := stream.RecvMsg(m); err != nil {
		return err
	}
	return srv.(ResourcesServer).List(m, &resourcesListServer{stream})
}