keijack / python-eureka-client

A eureka client written in python. Support registering your python component to Eureka Server, as well as calling remote services by pulling the the Eureka registry.
MIT License
183 stars 43 forks source link

do_service method clarification #84

Open AAyiku opened 3 months ago

AAyiku commented 3 months ago

Hi @keijack I wanted some clarification on the purpose of this part of the documentation. What is it the do_service supposed to do in a business code?

res = eureka_client.do_service("OTHER-SERVICE-NAME", "/service/context/path")

keijack commented 3 months ago

This function gives you a way to call remote service registered in Eureka server.