Go Client Library for CYBERCRYPT D1 and K1;
Go client libraries for
Usage
In order to use the client you will need credentials for the D1 Generic server.
When setting up the server the first time, you need to bootstrap an initial user with credentials
either through the executable as described
here.
Subsequent users can be created through the API as described
here.
The easiest way to use the D1 Generic client is through the NewGenericClientWR constructor. The
resulting client will automatically refresh the user's access token when it expires. A similar
constructor, NewStorageClientWR, exists for D1 Storage. For specific code examples, see the
godocs.
Development
Make targets are provided for various tasks. To get an overview run make help. To build the
clients run make build.
The D1 Generic and Storage clients can be tested against a docker deployment of the services by running
make docker-generic-test and make docker-storage-test.
License
The software in the CYBERCRYPT d1-client-go repository is licensed under the Apache License 2.0.