cloudflared-mirror/vendor/zombiezen.com/go/capnproto2
Areg Harutyunyan 0468866626 TUN-813: Clean up cloudflared dependencies 2018-07-24 18:07:02 -05:00
..
encoding/text TUN-813: Clean up cloudflared dependencies 2018-07-24 18:07:02 -05:00
internal TUN-813: Clean up cloudflared dependencies 2018-07-24 18:07:02 -05:00
pogs TUN-813: Clean up cloudflared dependencies 2018-07-24 18:07:02 -05:00
rpc TUN-813: Clean up cloudflared dependencies 2018-07-24 18:07:02 -05:00
schemas TUN-813: Clean up cloudflared dependencies 2018-07-24 18:07:02 -05:00
server TUN-813: Clean up cloudflared dependencies 2018-07-24 18:07:02 -05:00
std/capnp/rpc TUN-813: Clean up cloudflared dependencies 2018-07-24 18:07:02 -05:00
.gitignore TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
.travis.yml TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
AUTHORS TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
BUILD.bazel TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
CHANGELOG.md TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
CONTRIBUTING.md TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
CONTRIBUTORS TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
LICENSE TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
README.md TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
WORKSPACE TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
address.go TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
canonical.go TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
capability.go TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
capn.go TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
doc.go TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
go.capnp.go TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
go.mod TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
list.go TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
mem.go TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
mem_18.go TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
mem_other.go TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
pointer.go TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
rawpointer.go TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
readlimit.go TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
regen.sh TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
strings.go TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
struct.go TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00

README.md

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