mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-25 15:21:44 +00:00
Move config cache to proxy/common
This commit is contained in:
1 parent
c56e17fff9
commit
2b45e63607
14 files changed
+80
-58
No files matched your search
@@ -1,15 +1,14 @@
|
||||
package json
|
||||
|
||||
import (
|
||||
"github.com/v2ray/v2ray-core/config"
|
||||
"github.com/v2ray/v2ray-core/config/json"
|
||||
"github.com/v2ray/v2ray-core/proxy/common/config/json"
|
||||
)
|
||||
|
||||
type HttpProxyConfig struct {
|
||||
}
|
||||
|
||||
func init() {
|
||||
json.RegisterConfigType("http", config.TypeInbound, func() interface{} {
|
||||
json.RegisterInboundConnectionConfig("http", func() interface{} {
|
||||
return new(HttpProxyConfig)
|
||||
})
|
||||
}
|
||||
Reference in new issue
Block a user