UNPKG

insight-ui-dash

Version:

An open-source frontend for the Insight API. The Insight API provides you with a convenient, powerful and simple way to query and broadcast data on the Dash network and build your own services with it.

18 lines (16 loc) 396 B
'use strict'; angular.module('insight.status') .factory('Status', function($resource) { return $resource(window.apiPrefix + '/status', { q: '@q' }); }) .factory('Sync', function($resource) { return $resource(window.apiPrefix + '/sync'); }) .factory('PeerSync', function($resource) { return $resource(window.apiPrefix + '/peer'); });