1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-18 02:16:10 -05:00
v2fly/proxy/vmess/inbound/config.go
2016-04-24 22:40:43 +02:00

26 lines
392 B
Go

package inbound
import (
proto "github.com/v2ray/v2ray-core/common/protocol"
)
type DetourConfig struct {
ToTag string
}
type FeaturesConfig struct {
Detour *DetourConfig
}
type DefaultConfig struct {
AlterIDs uint16
Level proto.UserLevel
}
type Config struct {
AllowedUsers []*proto.User
Features *FeaturesConfig
Defaults *DefaultConfig
DetourConfig *DetourConfig
}