{"id":18602820,"url":"https://github.com/obgnail/binlog-parser","last_synced_at":"2026-05-15T12:35:15.468Z","repository":{"id":37695764,"uuid":"506131671","full_name":"obgnail/binlog-parser","owner":"obgnail","description":"mysql binlog 文件解析 SDK","archived":false,"fork":false,"pushed_at":"2022-06-22T06:58:43.000Z","size":29486,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-13T07:37:01.352Z","etag":null,"topics":["binlog","binlog-parser","golang","mysql"],"latest_commit_sha":null,"homepage":"","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/obgnail.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}},"created_at":"2022-06-22T06:53:03.000Z","updated_at":"2023-03-15T14:44:38.000Z","dependencies_parsed_at":"2022-08-27T06:02:53.847Z","dependency_job_id":null,"html_url":"https://github.com/obgnail/binlog-parser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/obgnail/binlog-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obgnail%2Fbinlog-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obgnail%2Fbinlog-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obgnail%2Fbinlog-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obgnail%2Fbinlog-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/obgnail","download_url":"https://codeload.github.com/obgnail/binlog-parser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obgnail%2Fbinlog-parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33067471,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"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":["binlog","binlog-parser","golang","mysql"],"created_at":"2024-11-07T02:12:37.968Z","updated_at":"2026-05-15T12:35:15.441Z","avatar_url":"https://github.com/obgnail.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# binlog-parser\n\nmysql binlog 文件解析SDK(只解析了部分event)\n\n## Usage\n```go\nfunc main() {\n\tdecoder, err := binlog.NewBinFileDecoder(\"./testdata/mysql-bin.000004\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\terr = decoder.WalkEvent(func(event *binlog.BinEvent) (isContinue bool, err error) {\n\t\teventType, _ := event.GetType()\n\t\tfmt.Printf(\"Got %s\\n\", eventType)\n\t\tfmt.Println(event.Header)\n\t\tif event.Body != nil {\n\t\t\tfmt.Println(event.Body)\n\t\t}\n\t\tfmt.Println(strings.Repeat(\"=\", 100))\n\t\treturn true, nil\n\t})\n\n\tif err != nil {\n\t\tpanic(err)\n\t}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobgnail%2Fbinlog-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fobgnail%2Fbinlog-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobgnail%2Fbinlog-parser/lists"}