Migrate ntp service to library

This commit is contained in:
世界
2024-03-26 20:58:47 +08:00
parent 11c7b4a866
commit b5dcd6bf59
3 changed files with 13 additions and 119 deletions

View File

@@ -2,9 +2,8 @@ package option
type NTPOptions struct {
Enabled bool `json:"enabled,omitempty"`
Server string `json:"server,omitempty"`
ServerPort uint16 `json:"server_port,omitempty"`
Interval Duration `json:"interval,omitempty"`
WriteToSystem bool `json:"write_to_system,omitempty"`
ServerOptions
DialerOptions
}