mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-17 22:57:10 +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
@@ -1,14 +1,15 @@
|
||||
package json
|
||||
|
||||
import (
|
||||
"github.com/v2ray/v2ray-core/proxy/common/config/json"
|
||||
"github.com/v2ray/v2ray-core/proxy/internal/config"
|
||||
"github.com/v2ray/v2ray-core/proxy/internal/config/json"
|
||||
)
|
||||
|
||||
type HttpProxyConfig struct {
|
||||
}
|
||||
|
||||
func init() {
|
||||
json.RegisterInboundConnectionConfig("http", func() interface{} {
|
||||
config.RegisterInboundConnectionConfig("http", json.JsonConfigLoader(func() interface{} {
|
||||
return new(HttpProxyConfig)
|
||||
})
|
||||
}))
|
||||
}
|
||||
Reference in new issue
Block a user