예제 #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})
}
예제 #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})
}
예제 #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})
}
예제 #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})
}