WebHook broker that accepts notifications from multiple platforms and performs simple actions in response
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

sensu.py 224B

123456789
  1. from .service import Service
  2. class Sensu(Service):
  3. def __init__(self):
  4. super().__init__("sensu")
  5. def accept_hook(self, identifier, request):
  6. yield {"type": "sensu", **request.get_json(force=True)}