gohiring / cachet-status

Build your own CachetHQ status widget

Home Page:http://gohiring.github.io/cachet-status

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cachet Status

Cachet - an open source status page system, for everyone. -- cachethq.io

CachetStatus uses Cachet API to get a list of system components and their statuses.

You decide what to do with received information. On the demo page you could find an example of a nice looking popover window with all GoHiring APIs and their current statuses.

CachetStatus does not have any external dependency, so you could use it with your favorite framework or as a standalone library.

Usage

CachetStatus constructor received two parameters:

  • Cachet site base URL.
  • callback function that will be called when a response from Cachet API got received.

The callback function gets an array of objects where each object represents one system component and its status.

Example:

var callback = function (components) {
  console.log(components);
};

new CachetStatus('https://status.gohiring.com', callback);

Credits

Cachet is awesome! You should try it when you need a status page.

Copyright information

Copyright (c) 2017 GoHiring GmbH

About

Build your own CachetHQ status widget

http://gohiring.github.io/cachet-status

License:MIT License


Languages

Language:JavaScript 100.0%