Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.48 KB

README.md

File metadata and controls

48 lines (32 loc) · 1.48 KB

spotify/heroic-client-go

Go client for talking to a heroic cluster.

BuildStatus Widget GoReport Widget GoDocWidget

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.