pantheon-systems/sensulib

Name: sensulib

Owner: Pantheon

Description: Golang Sensu API Library

Created: 2016-06-30 21:56:14.0

Updated: 2016-06-30 21:56:15.0

Pushed: 2016-06-30 23:37:44.0

Homepage: null

Size: 9

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Sensu Golang API library

This library is an implementation of Sensu 0.20's REST API for Golang.

Example
reate a new configration struct
ig := sensu.DefaultConfig()
ig.Address = "<your_sensu_API_server:port>"

reate a new API Client
uAPI, err := sensu.NewAPIClient(config)
rr != nil {
// catch errors in client creation


et All clients that Sensu API server knows about
clients []sensu.Client
 := sensuAPI.getClients(&data)

Printf(First Client: %+v\n", clients[0])
Documentation

https://gowalker.org/github.com/jefflaplante/sensulib

License

GPLv3


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.