{"id":19969764,"url":"https://github.com/ryskiwt/websocket","last_synced_at":"2026-06-05T22:31:33.519Z","repository":{"id":144549496,"uuid":"124535409","full_name":"ryskiwt/websocket","owner":"ryskiwt","description":"Thin wrapper of gorilla/websocket implementing net.Conn","archived":false,"fork":false,"pushed_at":"2018-03-12T18:49:25.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-01T18:14:02.909Z","etag":null,"topics":["go","golang","gorilla-websocket","websocket"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ryskiwt.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":"2018-03-09T12:04:10.000Z","updated_at":"2018-03-09T13:48:07.000Z","dependencies_parsed_at":"2024-06-28T10:45:54.441Z","dependency_job_id":null,"html_url":"https://github.com/ryskiwt/websocket","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ryskiwt/websocket","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryskiwt%2Fwebsocket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryskiwt%2Fwebsocket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryskiwt%2Fwebsocket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryskiwt%2Fwebsocket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryskiwt","download_url":"https://codeload.github.com/ryskiwt/websocket/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryskiwt%2Fwebsocket/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33962959,"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-05T02:00:06.157Z","response_time":120,"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":["go","golang","gorilla-websocket","websocket"],"created_at":"2024-11-13T02:51:38.379Z","updated_at":"2026-06-05T22:31:33.453Z","avatar_url":"https://github.com/ryskiwt.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WebSocket\n\nA thin wrapper of [gorilla/websocket](https://github.com/gorilla/websocket). This library just adds net.Conn interface to gorilla/websocket.Conn.\n\n[![GoDoc](https://godoc.org/github.com/ryskiwt/websocket?status.svg)](https://godoc.org/github.com/ryskiwt/websocket)\n[![License](https://img.shields.io/badge/License-BSD%202--Clause-orange.svg)](https://github.com/ryskiwt/websocket/blob/master/LICENSE)\n\n### Usage\n\n```go\npackage main\n\nimport (\n\t\"log\"\n\t\"net/http\"\n\n\tgorilla \"github.com/gorilla/websocket\"\n\t\"github.com/ryskiwt/websocket\"\n)\n\nfunc main() {\n\n\tvar conn *websocket.Conn\n\tvar err error\n\n\tconn, err = websocket.Dial(\"ws://127.0.0.1/socket\", nil)\n\tif err != nil {\n\t\tlog.Fatalf(\"%#v\\n\", err)\n\t}\n\tdefer conn.Close()\n\n\tvar w http.ResponseWriter\n\tvar r *http.Request\n\tconn, err = websocket.WrapUpgrade(gorilla.Upgrade(w, r, nil, 1024, 1024))\n\tif err != nil {\n\t\tlog.Fatalf(\"%#v\\n\", err)\n\t}\n\tdefer conn.Close()\n\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryskiwt%2Fwebsocket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryskiwt%2Fwebsocket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryskiwt%2Fwebsocket/lists"}