mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-06-13 11:59:35 +03:00
Log: show the matching rule tag (#3809)
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user