{"id":20003315,"url":"https://github.com/adnaan/statsdwrap","last_synced_at":"2025-03-02T00:24:38.434Z","repository":{"id":143091915,"uuid":"97822644","full_name":"adnaan/statsdwrap","owner":"adnaan","description":"A http handler wrapper for statsd","archived":false,"fork":false,"pushed_at":"2017-07-20T10:31:18.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-27T00:51:39.555Z","etag":null,"topics":["http","middleware","statsd"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adnaan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-07-20T10:28:22.000Z","updated_at":"2017-07-20T10:32:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"48655208-aa55-4913-8642-d398ef3f3009","html_url":"https://github.com/adnaan/statsdwrap","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adnaan%2Fstatsdwrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adnaan%2Fstatsdwrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adnaan%2Fstatsdwrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adnaan%2Fstatsdwrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adnaan","download_url":"https://codeload.github.com/adnaan/statsdwrap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241441970,"owners_count":19963512,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["http","middleware","statsd"],"created_at":"2024-11-13T05:25:11.127Z","updated_at":"2025-03-02T00:24:38.415Z","avatar_url":"https://github.com/adnaan.png","language":"Go","readme":" Usage:\n\n  ```go\n  r := chi.NewRouter()\n  statsdClient, _ := statsd.New(\n    statsd.Prefix(\"myapp\"),\n    statsd.Address(\"localhost:8125\"),\n  )\n  wrap := statsdwrap.NewChi(\"user_service\", statsdClient)\n  handleHome := func(w http.ResponseWriter, r *http.Request) {\n  \ttime.Sleep(time.Millisecond * 1000)\n  \tw.WriteHeader(http.StatusOK)\n  \tw.Write([]byte(\"OK\"))\n  }\n  r.Get(wrap.HandlerFunc(\"home\", \"/\", handleHome))\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadnaan%2Fstatsdwrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadnaan%2Fstatsdwrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadnaan%2Fstatsdwrap/lists"}