{"id":13413806,"url":"https://github.com/glycerine/go-capnproto","last_synced_at":"2025-03-14T20:30:34.389Z","repository":{"id":11700423,"uuid":"14214963","full_name":"glycerine/go-capnproto","owner":"glycerine","description":"Cap'n Proto library and parser for go. This is go-capnproto-1.0, and does not have rpc. See https://github.com/zombiezen/go-capnproto2 for 2.0 which has rpc and capabilities.","archived":false,"fork":true,"pushed_at":"2020-01-29T18:25:38.000Z","size":641,"stargazers_count":288,"open_issues_count":1,"forks_count":21,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-10-25T05:24:49.236Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"jmckaskill/go-capnproto","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/glycerine.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":"2013-11-07T20:28:12.000Z","updated_at":"2024-01-03T14:10:56.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/glycerine/go-capnproto","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glycerine%2Fgo-capnproto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glycerine%2Fgo-capnproto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glycerine%2Fgo-capnproto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glycerine%2Fgo-capnproto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/glycerine","download_url":"https://codeload.github.com/glycerine/go-capnproto/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243641949,"owners_count":20323940,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-07-30T20:01:49.811Z","updated_at":"2025-03-14T20:30:34.057Z","avatar_url":"https://github.com/glycerine.png","language":"Go","funding_links":[],"categories":["Serialization","Relational Databases","序列化","Go","安全领域相关库","\u003cspan id=\"序列化-serialization\"\u003e序列化 Serialization\u003c/span\u003e"],"sub_categories":["HTTP Clients","HTTP客户端","交流","查询语","Advanced Console UIs","\u003cspan id=\"高级控制台用户界面-advanced-console-uis\"\u003e高级控制台用户界面 Advanced Console UIs\u003c/span\u003e"],"readme":"Version 1.0 vs 2.0\n-------\n\nUpdate 2015 Sept 20:\n\nBig news! Version 2.0 of the go-bindings, authored by Ross Light, is now released and newly available! It features capnproto RPC and capabilities support. See https://github.com/zombiezen/go-capnproto2 for the v2 code and docs.\n\nThis repository (https://github.com/glycerine/go-capnproto) is now being called version 1.0 of the go bindings for capnproto. It does not have RPC (it was created before the RPC protocol was defined). Version 1 has schema generating tools such as https://github.com/glycerine/bambam. Personally I have many projects that use v1 with mangos for network transport; https://github.com/gdamore/mangos. Here is an example of using them together: https://github.com/glycerine/goq. Nonetheless, for new projects, especially once v2 has been hardened and tested, v2 should be preferred.\n\nVersion 1 will be maintained for applications that currently use it.  However new users, new features and new code contributions should be directed to the version 2 code base to take advantage of the RPC and capabilities.\n\n\nLicense\n-------\n\nMIT - see LICENSE file\n\nDocumentation\n-------------\nIn godoc see http://godoc.org/github.com/glycerine/go-capnproto\n\n\nNews\n----\n\n5 April 2014: James McKaskill, the author of go-capnproto (https://github.com/jmckaskill/go-capnproto), \nhas been super busy of late, so I agreed to take over as maintainer. This branch \n(https://github.com/glycerine/go-capnproto) includes my recent work to fix bugs in the\ncreation (originating) of structs for Go, and an implementation of the packing/unpacking capnp specification.\nThanks to Albert Strasheim (https://github.com/alberts/go-capnproto) of CloudFlare for a great set of packing tests. - Jason\n\nGetting started\n---------------\n\nNew! Visit the sibling project to this one, [bambam](https://github.com/glycerine/bambam), to automagically generate a capnproto schema from the struct definitions in your go source files. Bambam makes it easy to get starting with go-capnproto.\n\npre-requisite: Due to the use of the customtype annotation feature, you will need a relatively recent capnproto installation.  At or after 1 July 2014 (at or after b2d752beac5436bada2712f1a23185b78063e6fa) is known to work.\n\n~~~\n# first: be sure you have your GOPATH env variable setup.\n$ go get -u -t github.com/glycerine/go-capnproto\n$ cd $GOPATH/src/github.com/glycerine/go-capnproto\n$ make # will install capnpc-go and compile the test schema aircraftlib/aircraft.capnp, which is used in the tests.\n$ diff ./capnpc-go/capnpc-go `which capnpc-go` # you should verify that you are using the capnpc-go binary you just built. There should be no diff. Adjust your PATH if necessary to include the binary capnpc-go that you just built/installed from ./capnpc-go/capnpc-go.\n$ go test -v  # confirm all tests are green\n~~~\n\nWhat is Cap'n Proto?\n--------------------\n\nThe best cerealization...\n\nhttp://kentonv.github.io/capnproto/\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglycerine%2Fgo-capnproto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fglycerine%2Fgo-capnproto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglycerine%2Fgo-capnproto/lists"}