mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-19 23:03:08 +00:00
Move proxy/common/config to proxy/internal/config
This commit is contained in:
1 parent
dc86eb76da
commit
1c4c9bffad
29 files changed
+225
-221
No files matched your search
@@ -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