Implement support for notification types

- add new flag "-t" for notification types to matrix-host-notification
  and matrix-service-notification
- implement value validation for HostState and ServiceState
This commit is contained in:
Jan Dittberner 2024-09-26 17:18:32 +02:00
parent 902d4cb310
commit 1aeacd0d1b
6 changed files with 81 additions and 10 deletions

View file

@ -13,6 +13,7 @@
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
package matrix
const (

View file

@ -13,6 +13,7 @@
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
package matrix
import (