two/internal/hostsvc/clock_other.go
GnomeZworc d4b83bdb17
f-86: hostsvc: relais DNS et NTP par hôte, socket de contrôle #86
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
2026-10-26 23:25:04 +01:00

11 lines
216 B
Go

//go:build !linux
package hostsvc
import "time"
type SystemClock struct{}
func (SystemClock) Now() time.Time { return time.Now() }
func (SystemClock) Sync() (bool, time.Duration, error) { return false, 0, nil }