mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-11-18 01:23:13 -05:00
Require Type() for Feature
This commit is contained in:
@@ -13,3 +13,7 @@ type Router interface {
|
||||
// PickRoute returns a tag of an OutboundHandler based on the given context.
|
||||
PickRoute(ctx context.Context) (string, error)
|
||||
}
|
||||
|
||||
func RouterType() interface{} {
|
||||
return (*Router)(nil)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user