1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-12-29 21:45:21 -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

@@ -10,3 +10,7 @@ type Client interface {
features.Feature
LookupIP(host string) ([]net.IP, error)
}
func ClientType() interface{} {
return (*Client)(nil)
}