config.go 367 B

12345678910111213141516171819202122232425
  1. package inbound
  2. import (
  3. "v2ray.com/core/common/protocol"
  4. )
  5. type DetourConfig struct {
  6. ToTag string
  7. }
  8. type FeaturesConfig struct {
  9. Detour *DetourConfig
  10. }
  11. type DefaultConfig struct {
  12. AlterIDs uint16
  13. Level uint32
  14. }
  15. type Config struct {
  16. AllowedUsers []*protocol.User
  17. Features *FeaturesConfig
  18. Defaults *DefaultConfig
  19. DetourConfig *DetourConfig
  20. }