mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 01:57:12 -05:00
26 lines
392 B
Go
26 lines
392 B
Go
package inbound
|
|
|
|
import (
|
|
"github.com/v2ray/v2ray-core/common/protocol"
|
|
)
|
|
|
|
type DetourConfig struct {
|
|
ToTag string
|
|
}
|
|
|
|
type FeaturesConfig struct {
|
|
Detour *DetourConfig
|
|
}
|
|
|
|
type DefaultConfig struct {
|
|
AlterIDs uint16
|
|
Level protocol.UserLevel
|
|
}
|
|
|
|
type Config struct {
|
|
AllowedUsers []*protocol.User
|
|
Features *FeaturesConfig
|
|
Defaults *DefaultConfig
|
|
DetourConfig *DetourConfig
|
|
}
|