{"id":19836551,"url":"https://github.com/wawandco/goechoservice","last_synced_at":"2026-06-13T05:32:47.758Z","repository":{"id":82848092,"uuid":"452043122","full_name":"wawandco/goechoservice","owner":"wawandco","description":"A sample Thrift service with Go.","archived":false,"fork":false,"pushed_at":"2022-03-10T22:50:09.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-28T22:05:53.498Z","etag":null,"topics":["golang","http","thrift"],"latest_commit_sha":null,"homepage":"https://wawand.co","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/wawandco.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-25T21:09:47.000Z","updated_at":"2022-03-10T22:51:11.000Z","dependencies_parsed_at":"2023-03-01T08:31:00.905Z","dependency_job_id":null,"html_url":"https://github.com/wawandco/goechoservice","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wawandco/goechoservice","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wawandco%2Fgoechoservice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wawandco%2Fgoechoservice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wawandco%2Fgoechoservice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wawandco%2Fgoechoservice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wawandco","download_url":"https://codeload.github.com/wawandco/goechoservice/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wawandco%2Fgoechoservice/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34273788,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["golang","http","thrift"],"created_at":"2024-11-12T12:11:40.685Z","updated_at":"2026-06-13T05:32:47.720Z","avatar_url":"https://github.com/wawandco.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Echo Service (Thrift)\n\nThis is a simple POC for an echo service using Thrift. The goal is to validate the implementation of a thrift Go service mounted within an HTTP server.\n\n## Running the service\n\nUsing this code requires Go 1.17+ and thrift 1.15 installed in the development machine.\n\n### Generating Thrift code\nBefore attempting to run the code you will need to generate the thrift layers by running the following command within the project root folder:\n\n```\nthrift --gen go echoservice.thrift\n```\n\n### Running the service\nOnce those have been generated you can run the service locally with\n\n```\ngo run ./cmd/service\n```\n\nThat will start the service on the port `9090`.\n\n## Service endpoints\n\nThe services responds to 4 endpoints, each of which is documented below.\n\n#### `GET /thrift`\nResponds with `polo` in plain text.\n\n#### `POST /thrift`\nProcesses a Thrift request for the echo service in the binary protocol.\n#### `GET /thrift/json`\nResponds with `polo` in plain text.\n\n#### `POST /thrift/json`\nProcesses a Thrift request for the echo service in the JSON protocol.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwawandco%2Fgoechoservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwawandco%2Fgoechoservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwawandco%2Fgoechoservice/lists"}