mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-22 07:12:32 +00:00
massive refactoring against json config parsing
This commit is contained in:
1 parent
f87ab4713c
commit
e5fa96f814
51 files changed
+424
-586
No files matched your search
@@ -0,0 +1,14 @@
|
||||
// +build json
|
||||
|
||||
package http
|
||||
|
||||
import (
|
||||
"github.com/v2ray/v2ray-core/proxy/internal/config"
|
||||
)
|
||||
|
||||
func init() {
|
||||
config.RegisterInboundConnectionConfig("http",
|
||||
func(data []byte) (interface{}, error) {
|
||||
return new(Config), nil
|
||||
})
|
||||
}
|
||||
Reference in new issue
Block a user