dms

module
v0.0.0-...-4dbe146 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2021 License: MIT

README

DMS - Dead (Wo)man Switch

Simple aggregate dead (wo)man switch

Use
Register
curl --user <basic_auth_user>:<basic_auc_password> -d "environment=<environment_name>" <dms_endpoint>/register
Ingest
curl -H "Authorization: Bearer <jwt_token>" -XPOST <dms_endpoint>/ingest
Pingdom
curl <dms_endpoint>/pingdom
Status
curl --user <basic_auth_user>:<basic_auc_password> <dms_endpoint>/status
Incidents
curl --user <basic_auth_user>:<basic_auc_password> <dms_endpoint>/incidents
Test
go test -parallel 1 -v ./pkg/routes/... ./pkg/storage/... -cover
Author

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL