config.go 261 B

123456789101112131415161718
  1. package inbound
  2. import (
  3. proto "github.com/v2ray/v2ray-core/common/protocol"
  4. )
  5. type DetourConfig struct {
  6. ToTag string
  7. }
  8. type FeaturesConfig struct {
  9. Detour *DetourConfig
  10. }
  11. type Config struct {
  12. AllowedUsers []*proto.User
  13. Features *FeaturesConfig
  14. }