升级全部内核

This commit is contained in:
wyx2685
2024-06-13 00:06:22 +09:00
parent 206af0216c
commit 85ad40d098
8 changed files with 196 additions and 170 deletions

View File

@@ -11,7 +11,7 @@ type HookServer struct {
Counter sync.Map
}
func (h *HookServer) Log(id string, tx, rx uint64) (ok bool) {
func (h *HookServer) LogTraffic(id string, tx, rx uint64) (ok bool) {
var c interface{}
var exists bool
@@ -28,3 +28,6 @@ func (h *HookServer) Log(id string, tx, rx uint64) (ok bool) {
return false
}
func (s *HookServer) LogOnlineState(id string, online bool) {
}