{"repo":"mbobakov/grpc-consul-resolver","free":true,"listed":false,"github":"https://github.com/mbobakov/grpc-consul-resolver","clone":"git clone https://github.com/mbobakov/grpc-consul-resolver.git","description":"Easy-pluggable full-feature GRPC resolver for services registered in Consul","language":"Go","stars":353,"topics":["grpc","resolver","grpc-consul-resolver","consul"],"license":"MIT","category":"networking-infra","readme_excerpt":"GRPC consul resolver Feature rich and easy-to-use resolver which return endpoints for service from the Hashicorp Consul and watch for the changes. This library is production ready and will always save backward-compatibility Quick Start For using resolving endpoints from your Hashicorp Consul just import this library with import /github.com/mbobakov/grpc-consul-resolver and pass valid connection string to the grpc.Dial . For full example see this section Connection string consul://[user:password@]127.0.0.127:8555/my-service?[healthy=]&[wait=]&[near=]&[insecure=]&[limit=]&[tag=]&[token=] Parameters: Name Format Description -------------------- -------------------------- ------------------------------------------------------------------------------------------------------------------------------- tag string Select endpoints only with this tag healthy true/false Return only endpoints which pass all health-checks. Default: false wait as in time.ParseDuration Wait time for watch changes. Due this time period endpoints will be force refreshed. Default: inherits agent property insecure true/false Allow insecure communication with Consul. Default: true near string Sort endpoints by response duration. Can be efficient combine with limit parameter default: \" agent\" limit int Limit number of endpoints for the service. Default: no limit timeout as in time.ParseDuration Http-client timeout. Default: 60s max-backoff as in time.ParseDuration Max backoff time for reconnect to consul. Reconnec","default_branch":null,"files":null,"tree":[],"storefront":"/r/mbobakov","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mbobakov/grpc-consul-resolver/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}