Log: show the matching rule tag (#3809)

This commit is contained in:
风扇滑翔翼 2024-09-14 01:05:19 +08:00 committed by GitHub
parent 88ae774cce
commit 7970f240de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 19 additions and 3 deletions

View file

@ -30,6 +30,9 @@ type Route interface {
// GetOutboundTag returns the tag of the outbound the connection was dispatched to.
GetOutboundTag() string
// GetRuleTag returns the matching rule tag for debugging if exists
GetRuleTag() string
}
// RouterType return the type of Router interface. Can be used to implement common.HasType.