swift-cgo: Implement scan/delete/batch/permission/get/put

Various refactors, formatting, and bug fixes plus:

Implements:
	Collection.Scan
	Collection.DeleteRange
	Collection.get/put using user-supplied byte arrays*
	Database.watch using user-supplied byte arrays*
	Database.setPermission/getPermission
	Service.setPermission/getPermission
	Collection.getPermission/setPermission
	Batch.runInBatch
	Database.beginBatch / BatchDatabase.abort/commit

Unit tests:
	Scan
	Delete
	Get/put
	Batch operations

Missing unit tests:
	None for permissions

* Removes the JSON support for arbitrary byte arrays as a stop
gap until VOM is implemented in Swift.

MultiPart: 1/2
Change-Id: I9f9c268f45d94eab7313e924dd4fcd6c16e12847
2 files changed
tree: 1cb94f2decc78260b2451c8832432a186640038c
  1. cmd/
  2. examples/
  3. internal/
  4. lib/
  5. runtime/
  6. services/
  7. test/
  8. .gitignore
  9. AUTHORS
  10. CONTRIBUTING.md
  11. CONTRIBUTORS
  12. envvar.go
  13. envvar_test.go
  14. LICENSE
  15. PATENTS
  16. README.md
  17. VERSION
README.md

Vanadium

This repository contains a reference implementation of the Vanadium APIs.

Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.