{"id":17033152,"url":"https://github.com/niedbalski/gocriu","last_synced_at":"2026-02-25T06:13:13.615Z","repository":{"id":28517097,"uuid":"32033798","full_name":"niedbalski/gocriu","owner":"niedbalski","description":"Go  bindings for  checkpoint/restore functionality for Linux in userspace. (http://criu.org/)","archived":false,"fork":false,"pushed_at":"2015-03-11T18:53:33.000Z","size":152,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-27T18:44:05.595Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/niedbalski.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-03-11T18:21:54.000Z","updated_at":"2025-04-07T12:13:52.000Z","dependencies_parsed_at":"2022-08-24T07:00:46.752Z","dependency_job_id":null,"html_url":"https://github.com/niedbalski/gocriu","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/niedbalski/gocriu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niedbalski%2Fgocriu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niedbalski%2Fgocriu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niedbalski%2Fgocriu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niedbalski%2Fgocriu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/niedbalski","download_url":"https://codeload.github.com/niedbalski/gocriu/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niedbalski%2Fgocriu/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29812144,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T05:36:42.804Z","status":"ssl_error","status_checked_at":"2026-02-25T05:36:31.934Z","response_time":61,"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":[],"created_at":"2024-10-14T08:32:51.675Z","updated_at":"2026-02-25T06:13:13.590Z","avatar_url":"https://github.com/niedbalski.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Golang CRIU ( http://criu.org )\n=================================\n\nThis package is not official, just an experimental package\nfor interact with the rpc/protobuf criu service.\n\n# How to use this library\n\nFirst you need a running criu server\n\n```bash\n$ sudo criu service -vvv -W criu -o service.log -b -x --address /tmp/criu.socket -j --shell-job\n```\n\nThen you can write a Go client, as an example:\n\n```go\npackage main\n\nimport (\n\tgocriu \"github.com/niedbalski/gocriu\"\n\t\"os\"\n    \"fmt\"\n\t\"strconv\"\n)\n\nfunc main() {\n\tcriu, _ := gocriu.CriuClient(\"/tmp/criu.socket\", \"/tmp/pid_dump\", true)\n\n    dumped, err := criu.Dump(pid)\n\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfmt.Println(dumped)\n\n\trestored, err := criu.Restore(pid) // Restore the PID\n\n    if err != nil {\n\t\tpanic(err)\n\t}\n\n\tfmt.Println(restored)\n}\n\n```\n\n# Todo\n\n* Test\n* Documentation\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniedbalski%2Fgocriu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniedbalski%2Fgocriu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniedbalski%2Fgocriu/lists"}