crash.software
Projects
Pull Requests
Issues
Builds
sing-box
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
sing-box
Files
🤬
Sign In
5dce7228
ROOT
/
ntp
/
service.go
Search
History
107 lines
|
ISO-8859-1
|
2 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
_
:
adapter.TimeService
Service
ctx
:
context.Context
cancel
:
context.CancelFunc
server
:
M.Socksaddr
writeToSystem
:
bool
dialer
:
N.Dialer
logger
:
logger.Logger
ticker
:
*time.Ticker
clockOffset
:
time.Duration
NewService
(ctx context.Context, router adapter.Router, logger logger.Logger, options option.NTPOptions)
:
*Service
*Service
Start
()
:
error
Close
()
:
error
TimeFunc
()
:
func() time.Time
loopUpdate
()
update
()
:
error
All occurrences
Please wait...
Page is in error, reload to recover