Add NTP service

This commit is contained in:
世界 committed 2023-02-21 16:09:06 +08:00
1 parent f26785c0ba
commit 611d6bbfc5
26 files changed
+186 -26

No files matched your search

+2
View File
@@ -41,6 +41,8 @@ type Router interface {
PackageManager() tun.PackageManager
Rules() []Rule
TimeService
ClashServer() ClashServer
SetClashServer(server ClashServer)
+8
View File
@@ -0,0 +1,8 @@
package adapter
import "time"
type TimeService interface {
Service
TimeFunc() func() time.Time
}