heroic-client-go

module
v0.0.0-...-dc9f2f5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2020 License: Apache-2.0

README

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL