statuspage-notifier:statuspage.io的通知者

时间:2024-06-01 16:33:15
【文件属性】:

文件名称:statuspage-notifier:statuspage.io的通知者

文件大小:7KB

文件格式:ZIP

更新时间:2024-06-01 16:33:15

JavaScript

状态页通知程序 为您的statuspage.io帐户提供可公开访问的状态URL,检查间隔以及package.json的内容。 用法 使用以下选项初始化通知程序 name :您的服务名称。 这将作为状态的标题输出 checkInterval :显示状态之间的最短时间 apiUrl :您的状态页API的URL pageUrl :您的状态页页面的URL var notifier = require ( 'statuspage-notifier' ) ( { name : 'My API' , checkInterval : 1 * 60 * 1000 , // Will only run and output once per hour. apiUrl : 'http://yzskf90qzqff.statuspage.io/api/v2/sta


【文件预览】:
statuspage-notifier-master
----.travis.yml(304B)
----.eslintrc(132B)
----index.js(3KB)
----package.json(896B)
----test()
--------notifier-spec.js(2KB)
----exmaple()
--------status.js(202B)
----LICENSE(1KB)
----.npmignore(45B)
----.gitignore(544B)
----README.md(3KB)

网友评论