feature.go 335 B

123456789101112
  1. package features
  2. import (
  3. "github.com/xtls/xray-core/common"
  4. )
  5. // Feature is the interface for Xray features. All features must implement this interface.
  6. // All existing features have an implementation in app directory. These features can be replaced by third-party ones.
  7. type Feature interface {
  8. common.HasType
  9. common.Runnable
  10. }