oliora / ppconsul

C++ client for Consul (http://consul.io)
Boost Software License 1.0
152 stars 56 forks source link

Add coordinates to `/agent/self` #68

Closed indev29 closed 2 years ago

indev29 commented 2 years ago

Continuation of #67.

Speaking of implementation I think it's better to break compatibility and drop pair<Config, Member> in favor of struct SelfInfo with fields config, member and coord (the new one).

Originally posted by @oliora in https://github.com/oliora/ppconsul/issues/67#issuecomment-1029496580

indev29 commented 2 years ago

I'll work on this shortly.