func New() (wd *WatchDog, err error) {
	interval, err := getWatchDogInterval()
	if err != nil {
		return
	}
	wd = &WatchDog{
		interval: interval,
		checks:   interval / 2,
	}
	return
}
New returns an initialized and ready to use WatchDog
package sysdwatchdog
import (
	"errors"
	"fmt"
	"os"
	"strconv"
	"time"
	sysdnotify "github.com/iguanesolutions/go-systemd/v5/notify"
)
type WatchDog struct {
	interval time.Duration
	checks   time.Duration
}