{"id":36532800,"url":"https://github.com/blizzy78/gojsonclient","last_synced_at":"2026-01-12T03:03:13.808Z","repository":{"id":213902835,"uuid":"735224534","full_name":"blizzy78/gojsonclient","owner":"blizzy78","description":"A Go client for JSON/REST HTTP services","archived":false,"fork":false,"pushed_at":"2024-04-16T16:52:39.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-16T22:05:08.857Z","etag":null,"topics":["client","go","golang","json","rest"],"latest_commit_sha":null,"homepage":"","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/blizzy78.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}},"created_at":"2023-12-24T05:46:50.000Z","updated_at":"2023-12-24T05:47:32.000Z","dependencies_parsed_at":"2023-12-24T07:41:22.306Z","dependency_job_id":"861f2029-4c41-4b9a-8e00-53367b2681b5","html_url":"https://github.com/blizzy78/gojsonclient","commit_stats":null,"previous_names":["blizzy78/gojsonclient"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/blizzy78/gojsonclient","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blizzy78%2Fgojsonclient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blizzy78%2Fgojsonclient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blizzy78%2Fgojsonclient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blizzy78%2Fgojsonclient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blizzy78","download_url":"https://codeload.github.com/blizzy78/gojsonclient/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blizzy78%2Fgojsonclient/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28332850,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"online","status_checked_at":"2026-01-12T02:00:08.677Z","response_time":98,"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":["client","go","golang","json","rest"],"created_at":"2026-01-12T03:03:13.164Z","updated_at":"2026-01-12T03:03:13.803Z","avatar_url":"https://github.com/blizzy78.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![GoDoc](https://pkg.go.dev/badge/github.com/blizzy78/gojsonclient)](https://pkg.go.dev/github.com/blizzy78/gojsonclient)\n\n\ngojsonclient\n============\n\nA Go package that provides a client for JSON/REST HTTP services, with automatic retry/backoff.\n\n```go\nimport \"github.com/blizzy78/gojsonclient\"\n```\n\n\nCode example\n------------\n\n```go\ntype request struct {\n\tMessage string `json:\"message\"`\n}\n\ntype response struct {\n\tReply string `json:\"reply\"`\n}\n\nclient := gojsonclient.New()\n\nreq := gojsonclient.NewRequest[*request, *response](\n\t\"https://www.example.com\",\n\thttp.MethodGet,\n\t\u0026request{Message: \"client\"},\n)\n\nres, _ := gojsonclient.Do(context.Background(), client, req)\nfmt.Println(res.Res.Reply)\n\n// Output: Hello client!\n```\n\n\nLicense\n-------\n\nThis package is licensed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblizzy78%2Fgojsonclient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblizzy78%2Fgojsonclient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblizzy78%2Fgojsonclient/lists"}