mirror of
https://github.com/cmz0228/hysteria-dev.git
synced 2025-08-07 09:51:48 +00:00
feat: traffic logger with disconnect
This commit is contained in:
@@ -180,5 +180,5 @@ type EventLogger interface {
|
||||
// bandwidth limits or post-connection authentication, for example.
|
||||
// The implementation of this interface must be thread-safe.
|
||||
type TrafficLogger interface {
|
||||
Log(id string, tx, rx uint64) bool
|
||||
Log(id string, tx, rx uint64) (ok bool)
|
||||
}
|
||||
|
Reference in New Issue
Block a user