spotify/heroic-client-go
Go client for talking to a heroic cluster.
Usage
import "github.com/spotify/heroic-client-go/heroic"
Construct a new Heroic client and get the status of a cluster:
u, _ := url.Parse("http://heroic.spotify.net/")
c := heroic.NewClient(u, nil, nil)
ctx := context.Background()
status, _ := c.Status(ctx)
fmt.Println(status.Service.Name) // "The Heroic Time Series Database"
Roadmap
This library is being developed for an internal application at Spotify, so API methods will likely be implemented in the order that they are needed by that application.
Code of Conduct
This project adheres to the Open Code of Conduct. By participating, you are expected to honor this code.