{"id":39007461,"url":"https://github.com/hesh915/go-socket.io-client","last_synced_at":"2026-01-17T17:18:17.937Z","repository":{"id":51357460,"uuid":"41989243","full_name":"hesh915/go-socket.io-client","owner":"hesh915","description":"socket.io client for golang","archived":false,"fork":false,"pushed_at":"2021-05-13T15:24:45.000Z","size":22,"stargazers_count":97,"open_issues_count":16,"forks_count":68,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-11-15T04:04:32.404Z","etag":null,"topics":["golang","socket-io","socket-io-client"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hesh915.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}},"created_at":"2015-09-06T06:01:27.000Z","updated_at":"2024-08-14T06:33:45.000Z","dependencies_parsed_at":"2022-09-26T21:40:51.385Z","dependency_job_id":null,"html_url":"https://github.com/hesh915/go-socket.io-client","commit_stats":null,"previous_names":["zhouhui8915/go-socket.io-client"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hesh915/go-socket.io-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hesh915%2Fgo-socket.io-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hesh915%2Fgo-socket.io-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hesh915%2Fgo-socket.io-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hesh915%2Fgo-socket.io-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hesh915","download_url":"https://codeload.github.com/hesh915/go-socket.io-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hesh915%2Fgo-socket.io-client/sbom","scorecard":{"id":462535,"data":{"date":"2025-08-11","repo":{"name":"github.com/hesh915/go-socket.io-client","commit":"83ee73793ba4ec64250ecd10639dc203663a1cb8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Code-Review","score":3,"reason":"Found 5/16 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 11 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T11:31:52.855Z","repository_id":51357460,"created_at":"2025-08-19T11:31:52.855Z","updated_at":"2025-08-19T11:31:52.855Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28512351,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: 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":["golang","socket-io","socket-io-client"],"created_at":"2026-01-17T17:18:17.375Z","updated_at":"2026-01-17T17:18:17.919Z","avatar_url":"https://github.com/hesh915.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-socket.io-client\n\ngo-socket.io-client is an client implementation of [socket.io](http://socket.io) in golang, which is a realtime application framework.\n\nIt is compatible with latest implementation of socket.io in node.js, and supports namespace.\n\n* It is base on [googollee/go-socket.io](https://github.com/googollee/go-socket.io) and [googollee/go-engine.io](https://github.com/googollee/go-engine.io)\n\n## Install\n\nInstall the package with:\n\n```bash\ngo get github.com/zhouhui8915/go-socket.io-client\n```\n\nImport it with:\n\n```go\nimport \"github.com/zhouhui8915/go-socket.io-client\"\n```\n\nand use `socketio_client` as the package name inside the code.\n\n## Example\n\nPlease check the example folder for details.\n\n```go\npackage main\n\nimport (\n\t\"bufio\"\n\t\"github.com/zhouhui8915/go-socket.io-client\"\n\t\"log\"\n\t\"os\"\n)\n\nfunc main() {\n\n\topts := \u0026socketio_client.Options{\n\t\tTransport: \"websocket\",\n\t\tQuery:     make(map[string]string),\n\t}\n\topts.Query[\"user\"] = \"user\"\n\topts.Query[\"pwd\"] = \"pass\"\n\turi := \"http://192.168.1.70:9090/socket.io/\"\n\n\tclient, err := socketio_client.NewClient(uri, opts)\n\tif err != nil {\n\t\tlog.Printf(\"NewClient error:%v\\n\", err)\n\t\treturn\n\t}\n\n\tclient.On(\"error\", func() {\n\t\tlog.Printf(\"on error\\n\")\n\t})\n\tclient.On(\"connection\", func() {\n\t\tlog.Printf(\"on connect\\n\")\n\t})\n\tclient.On(\"message\", func(msg string) {\n\t\tlog.Printf(\"on message:%v\\n\", msg)\n\t})\n\tclient.On(\"disconnection\", func() {\n\t\tlog.Printf(\"on disconnect\\n\")\n\t})\n\n\treader := bufio.NewReader(os.Stdin)\n\tfor {\n\t\tdata, _, _ := reader.ReadLine()\n\t\tcommand := string(data)\n\t\tclient.Emit(\"message\", command)\n\t\tlog.Printf(\"send message:%v\\n\", command)\n\t}\n}\n```\n\n## License\n\nThe 3-clause BSD License  - see LICENSE for more details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhesh915%2Fgo-socket.io-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhesh915%2Fgo-socket.io-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhesh915%2Fgo-socket.io-client/lists"}