mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-01-05 16:55:27 -05:00
Move config cache to proxy/common
This commit is contained in:
@@ -3,8 +3,7 @@ package json
|
||||
import (
|
||||
v2net "github.com/v2ray/v2ray-core/common/net"
|
||||
v2netjson "github.com/v2ray/v2ray-core/common/net/json"
|
||||
"github.com/v2ray/v2ray-core/config"
|
||||
"github.com/v2ray/v2ray-core/config/json"
|
||||
"github.com/v2ray/v2ray-core/proxy/common/config/json"
|
||||
)
|
||||
|
||||
type DokodemoConfig struct {
|
||||
@@ -17,7 +16,7 @@ type DokodemoConfig struct {
|
||||
}
|
||||
|
||||
func init() {
|
||||
json.RegisterConfigType("dokodemo-door", config.TypeInbound, func() interface{} {
|
||||
json.RegisterInboundConnectionConfig("dokodemo-door", func() interface{} {
|
||||
return new(DokodemoConfig)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user