The Go SDK is compatible with S2 v1 API (v0.11+) and ready for production use.
Installation
Install viago get:
Quick Start
Initialize the Client
Basic Operations
Working with Basins
Create a Basin
List Basins
Get Basin Configuration
Delete a Basin
Working with Streams
Create a Stream
List Streams
Delete a Stream
Writing Records
Using the Producer
Batch Append
Reading Records
Using the Reader
Read with Options
Single Read
Check Tail
Context and Cancellation
All SDK methods accept acontext.Context for timeout and cancellation:
Access Tokens
Issue a Token
List Tokens
Revoke a Token
Metrics
Error Handling
Configuration
Custom Endpoint
HTTP Client Customization
Concurrency
The SDK is safe for concurrent use:Resources
GitHub
Source code and documentation
Go.dev
API reference documentation
REST API
Underlying REST API reference
Discord
Join our community
Next Steps
- Explore the REST API for detailed API information
- Learn about streams and records
- Check out the GitHub repository for examples