mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-01 08:17:25 +00:00
Require Type() for Feature
This commit is contained in:
@@ -25,6 +25,7 @@ type Runnable interface {
|
||||
// HasType is the interface for objects that knows its type.
|
||||
type HasType interface {
|
||||
// Type returns the type of the object.
|
||||
// Usually it returns (*Type)(nil) of the object.
|
||||
Type() interface{}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user