mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-17 23:06:30 -05:00
25 lines
364 B
Go
25 lines
364 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
|
|
}
|