Go client for talking to a heroic cluster.
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"
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.
This project adheres to the Open Code of Conduct. By participating, you are expected to honor this code.