mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-01-02 07:25:19 -05:00
Move proxy/common/config to proxy/internal/config
This commit is contained in:
@@ -10,14 +10,14 @@ import (
|
||||
|
||||
type ConnectionConfig struct {
|
||||
ProtocolValue string
|
||||
SettingsValue interface{}
|
||||
SettingsValue []byte
|
||||
}
|
||||
|
||||
func (config *ConnectionConfig) Protocol() string {
|
||||
return config.ProtocolValue
|
||||
}
|
||||
|
||||
func (config *ConnectionConfig) Settings() interface{} {
|
||||
func (config *ConnectionConfig) Settings() []byte {
|
||||
return config.SettingsValue
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user