Migrate ntp service to library

This commit is contained in:
世界
2024-04-02 18:28:44 +08:00
parent 2740196d5c
commit fe2d0932bb
3 changed files with 13 additions and 119 deletions
+1 -2
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
}