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
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
packagehas been mapped to the package
packageis a go reserved word).
Note: we use import path checking; you'll need to import things as e.g:
rather than directly via the URL for this repository.
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.