Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 8.2% on proxy.golang.org

proxy.golang.org : github.com/getlantern/rockset-go-client

Package rockset provides a go client to interact with the Rockset database. The client uses the Rockset REST API https://docs.rockset.com/rest-api/, and is an OpenAPI generated code by https://openapi-generator.tech/. It provides convenience functions for all API calls to make the generated client easier to use, by wrapping the API calls in methods that require passing a context.Context and having all required arguments in the method signature, so that as many errors as possible are caught at compile time instead of at runtime. It uses functional options for any optional arguments. The convenience methods return the payload data from the models package, to reduce the indirection. All methods also automatically retries any retryable error returned by the Rockset API, using exponential back-off. The retryable errors are defined in rockset.RetryableErrors. If a zerolog logger is set in the context, the methods will log to it. E.g. Example log output Raw usage of the openapi client Example code to first create an S3 integration, then create a collection from the integration, and finally clean up. Use govcr to record API calls as fixtures and then replay them. Note that this will record your API key so do not commit the saved "cassette" to a public repo. See https://github.com/seborama/govcr for information how to use govcr.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/getlantern/rockset-go-client
License: Apache-2.0
Latest release: almost 2 years ago
First release: almost 2 years ago
Namespace: github.com/getlantern
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 26 days ago

    Loading...
    Readme
    Loading...