go-capnproto2

Cap'n Proto library and code generator for Go

Github星跟踪图

Cap'n Proto bindings for Go

GoDoc
Build Status

go-capnproto consists of:

  • a Go code generator for Cap'n Proto
  • a Go package that provides runtime support
  • a Go package that implements Level 1 of the RPC protocol

Getting started

You will need the capnp tool to compile schemas into Go.
This package has been tested with Cap'n Proto 0.5.0.

$ go get -u -t zombiezen.com/go/capnproto2/...
$ go test -v zombiezen.com/go/capnproto2/...

This library uses SemVer tags to indicate stable releases.
While the goal is that master should always be passing all known tests, tagged releases are vetted more.
When possible, use the latest release tag.

$ cd $GOPATH/src/zombiezen.com/go/capnproto2
$ git fetch
$ git checkout v2.16.0  # check the releases page for the latest

Then read the Getting Started guide.

API Compatibility

Consider this package's API as beta software, since the Cap'n Proto spec is not final.
In the spirit of the Go 1 compatibility guarantee, I will make every effort to avoid making breaking API changes.
The major cases where I reserve the right to make breaking changes are:

  • Security.
  • Changes in the Cap'n Proto specification.
  • Bugs.

The pogs package is relatively new and may change over time.
However, its functionality has been well-tested and will probably only relax restrictions.

Documentation

See the docs on godoc.org.

What is Cap'n Proto?

The best cerealization...

https://capnproto.org/

License

MIT - see LICENSE file

主要指标

概览
名称与所有者capnproto/go-capnp
主编程语言Go
编程语言Go (语言数: 4)
平台
许可证Other
所有者活动
创建于2015-09-20 15:04:51
推送于2025-02-19 16:34:58
最后一次提交
发布数72
最新版本名称v3.1.0-alpha.1 (发布于 )
第一版名称v2.0.0 (发布于 )
用户参与
星数1.3k
关注者数30
派生数114
提交数2k
已启用问题?
问题数242
打开的问题数54
拉请求数333
打开的拉请求数3
关闭的拉请求数27
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?