mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-04 04:17:36 +03:00
Migrate ntp service to library
This commit is contained in:
parent
11c7b4a866
commit
b5dcd6bf59
3 changed files with 13 additions and 119 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue