sandstorm capnp bindings and helpers
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
capnp
examples
exp
grain
internal/testapp
ip
sandstormhttpbridge
util
websession
.gitignore
.travis.yml
Gopkg.lock
Gopkg.toml
README.md
license.txt

README.md

Travis CI Go Report Card

Go Wrappers for Sandstorm's API

Right now this contains:

  • capnp, generated packages for the sandstorm API capnproto schema. The packages are currently generated from the schema in sandstorm v0.202
  • grain, which provides a helper to connect to the sandstorm API.
  • websession, a very WIP set of helpers around WebSession, most notably code to glue it to net/http.

Since the schema names are not all legal package names, the following changes have been made:

  • Schema with dashes in their names have had the dashes removed.
  • The schema package has been mapped to the package spk (since package is a go reserved word).

Note: we use import path checking; you'll need to import things as e.g:

import "zenhack.net/go/sandstorm/grain"

rather than directly via the URL for this repository.

Licensing

Apache 2.0, both my stuff and the bits pulled from upstream:

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

A copy of the license is in the file license.txt. Individual source files contain relevant copyright notices.