1
0
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:
Darien Raymond
2018-10-12 23:57:56 +02:00
parent dcd26ec61f
commit d730637239
30 changed files with 162 additions and 49 deletions

View File

@@ -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)
}