// DeleteNotifier deletes a notifier given its name
DeleteNotifier deletes a notifier given its name
// DeleteNotifier deletes a notifier given its name
func DeleteNotifier(name string) (DeleteNotifierResponse, error) {
	_, err := reader.FindOneNotifier(name)
	if err != nil {
		return DeleteNotifierResponse{}, err
	}
	_ = writer.DeleteNotifier(name)
	return DeleteNotifierResponse{Msg: name + " deleted"}, nil
}
func DeleteNotifier ( name string ) ( DeleteNotifierResponse , error ) { _ , err := reader . FindOneNotifier ( name ) if err != nil { return DeleteNotifierResponse { } , err } _ = writer . DeleteNotifier ( name ) return DeleteNotifierResponse { Msg : name + " " } , nil }
DeleteNotifier deletes a notifier given its name
DeleteNotifier deletes a notifier given its name