26 lines
367 B
Go
Raw Normal View History

2015-12-07 19:32:38 +00:00
package inbound
import (
2016-08-20 20:55:45 +02:00
"v2ray.com/core/common/protocol"
2015-12-07 19:32:38 +00:00
)
2016-01-19 01:21:07 +01:00
type DetourConfig struct {
ToTag string
}
type FeaturesConfig struct {
Detour *DetourConfig
}
2016-02-25 14:38:41 +01:00
type DefaultConfig struct {
AlterIDs uint16
2016-09-18 00:41:21 +02:00
Level uint32
2016-02-25 14:38:41 +01:00
}
type Config struct {
2016-05-07 20:26:29 +02:00
AllowedUsers []*protocol.User
2016-01-19 01:21:07 +01:00
Features *FeaturesConfig
2016-02-25 14:38:41 +01:00
Defaults *DefaultConfig
2016-04-24 22:40:43 +02:00
DetourConfig *DetourConfig
2015-12-07 19:32:38 +00:00
}