mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-11-23 17:11:28 +00:00
13 lines
335 B
Go
13 lines
335 B
Go
package features
|
|
|
|
import (
|
|
"github.com/xtls/xray-core/common"
|
|
)
|
|
|
|
// Feature is the interface for Xray features. All features must implement this interface.
|
|
// All existing features have an implementation in app directory. These features can be replaced by third-party ones.
|
|
type Feature interface {
|
|
common.HasType
|
|
common.Runnable
|
|
}
|