v2ray-core/proxy/vmess/inbound/config.go

26 lines
392 B
Go
Raw Normal View History

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