{"id":16473388,"url":"https://github.com/vikpe/udphelper","last_synced_at":"2026-05-26T16:02:48.780Z","repository":{"id":57695545,"uuid":"490006191","full_name":"vikpe/udphelper","owner":"vikpe","description":"UDP test helper for Go.","archived":false,"fork":false,"pushed_at":"2023-04-26T07:58:37.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-14T23:20:43.810Z","etag":null,"topics":["go","testing","udp"],"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/vikpe.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}},"created_at":"2022-05-08T17:08:57.000Z","updated_at":"2025-05-31T15:11:40.000Z","dependencies_parsed_at":"2023-07-13T06:31:06.039Z","dependency_job_id":null,"html_url":"https://github.com/vikpe/udphelper","commit_stats":null,"previous_names":["vikpe/udph"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/vikpe/udphelper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikpe%2Fudphelper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikpe%2Fudphelper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikpe%2Fudphelper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikpe%2Fudphelper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vikpe","download_url":"https://codeload.github.com/vikpe/udphelper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikpe%2Fudphelper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33528089,"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":"ssl_error","status_checked_at":"2026-05-26T15:22:15.568Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["go","testing","udp"],"created_at":"2024-10-11T12:26:46.816Z","updated_at":"2026-05-26T16:02:48.744Z","avatar_url":"https://github.com/vikpe.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# udphelper [![Go Reference](https://pkg.go.dev/badge/github.com/vikpe/udphelper.svg)](https://pkg.go.dev/github.com/vikpe/udphelper)  [![Test](https://github.com/vikpe/udphelper/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/vikpe/udphelper/actions/workflows/test.yml) [![codecov](https://codecov.io/gh/vikpe/udphelper/branch/main/graph/badge.svg)](https://codecov.io/gh/vikpe/udphelper) [![Go Report Card](https://goreportcard.com/badge/github.com/vikpe/udphelper)](https://goreportcard.com/report/github.com/vikpe/udphelper)\n\n\u003e UDP test helper for Go\n\n## Usage\n\n### Listen\n\nListen to given address without responding to requests.\n\n```go\nudphelper.New(\":8000\").Listen()\n```\n\n### Echo requests\n\nRespond to requests with `ok:` prepended to the request packet.\n\n```go\nudphelper.New(\":8000\").Echo()\n```\n\n### Respond\n\nRespond to any request with given response(s).\n\n**Single**\n```go\nresponse := []byte(\"pong\")\nudphelper.New(\":8000\").Respond(response)\n```\n\n**Multiple**\n```go\nresponse1 := []byte(\"pong1\")\nresponse2 := []byte(\"pong2\")\nudphelper.New(\":8000\").Respond(response1, response2)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvikpe%2Fudphelper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvikpe%2Fudphelper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvikpe%2Fudphelper/lists"}