The highest tagged major version is
v3.
package
Version:
v2.9.0+incompatible
Opens a new window with list of versions in this module.
Published: Jun 19, 2016
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package capnptool provides an API for calling the capnp tool in tests.
Tool is the path to the capnp command-line tool.
It can be used from multiple goroutines.
Find searches PATH for the capnp tool.
Decode decodes a Cap'n Proto message into text.
DecodePacked decodes a packed Cap'n Proto message into text.
Encode encodes Cap'n Proto text into the binary representation.
Run executes the tool with the given stdin and arguments returns the stdout.
Type is a reference to a Cap'n Proto type in a schema.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.