mirror of
https://github.com/cmz0228/hysteria-dev.git
synced 2025-08-17 23:01:46 +00:00
refactor(online): track count instead of raddr
This commit is contained in:
@@ -196,6 +196,5 @@ type EventLogger interface {
|
||||
// The implementation of this interface must be thread-safe.
|
||||
type TrafficLogger interface {
|
||||
Log(id string, tx, rx uint64) (ok bool)
|
||||
LogOnline(id string, addr net.Addr)
|
||||
LogOffline(id string, addr net.Addr)
|
||||
LogOnlineStateChanged(id string, online bool)
|
||||
}
|
||||
|
Reference in New Issue
Block a user