{"id":41342165,"url":"https://github.com/ekomobile/grpc-consul-resolver","last_synced_at":"2026-01-23T06:51:41.909Z","repository":{"id":57495710,"uuid":"131961219","full_name":"ekomobile/grpc-consul-resolver","owner":"ekomobile","description":"gRPC Consul resolver","archived":false,"fork":false,"pushed_at":"2020-07-08T15:16:49.000Z","size":29,"stargazers_count":8,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-15T03:54:28.588Z","etag":null,"topics":["consul","grpc","grpc-consul-resolver"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ekomobile.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-03T07:56:47.000Z","updated_at":"2021-11-25T06:10:59.000Z","dependencies_parsed_at":"2022-08-28T20:01:56.076Z","dependency_job_id":null,"html_url":"https://github.com/ekomobile/grpc-consul-resolver","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/ekomobile/grpc-consul-resolver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekomobile%2Fgrpc-consul-resolver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekomobile%2Fgrpc-consul-resolver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekomobile%2Fgrpc-consul-resolver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekomobile%2Fgrpc-consul-resolver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ekomobile","download_url":"https://codeload.github.com/ekomobile/grpc-consul-resolver/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekomobile%2Fgrpc-consul-resolver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28682263,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T05:48:07.525Z","status":"ssl_error","status_checked_at":"2026-01-23T05:48:07.129Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["consul","grpc","grpc-consul-resolver"],"created_at":"2026-01-23T06:51:41.390Z","updated_at":"2026-01-23T06:51:41.896Z","avatar_url":"https://github.com/ekomobile.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/ekomobile/grpc-consul-resolver.svg)](https://travis-ci.org/ekomobile/grpc-consul-resolver)\n[![GitHub release](https://img.shields.io/github/release/ekomobile/grpc-consul-resolver.svg)](https://github.com/ekomobile/grpc-consul-resolver/releases)\n[![Go Report Card](https://goreportcard.com/badge/github.com/ekomobile/grpc-consul-resolver)](https://goreportcard.com/report/github.com/ekomobile/grpc-consul-resolver)\n![Downloads](https://img.shields.io/github/downloads/ekomobile/grpc-consul-resolver/total.svg)\n[![GoDoc](https://godoc.org/github.com/ekomobile/grpc-consul-resolver?status.svg)](https://godoc.org/github.com/ekomobile/grpc-consul-resolver)\n\n# gRPC Consul resolver\nThis lib resolves Consul services by name. \n\n# Usage\n\nSomewhere in your `init` code: \n```go\nimport (\n    \"github.com/ekomobile/grpc-consul-resolver\"\n)\n\n// Will query consul every 5 seconds.\nresolver.RegisterDefault(time.Second * 5)\n```\n\nGetting connection:\n```go\nconn, err := grpc.DialContext(ctx, \"srv://consul/my-awesome-service\")\n```\nWith round-robin balancer:\n```go\nimport (\n    \"google.golang.org/grpc/balancer/roundrobin\"\n)\n\nconn, err := grpc.DialContext(ctx, \"srv://consul/my-awesome-service\", grpc.WithBalancerName(roundrobin.Name))\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fekomobile%2Fgrpc-consul-resolver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fekomobile%2Fgrpc-consul-resolver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fekomobile%2Fgrpc-consul-resolver/lists"}