mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-19 23:03:08 +00:00
rename InboundConfig methods
This commit is contained in:
1 parent
d325400f2e
commit
d4dcee5fa3
8 files changed
+19
-19
No files matched your search
@@ -28,7 +28,7 @@ func RegisterOutboundConfig(protocol string, creator ConfigObjectCreator) error
|
||||
return registerConfigType(protocol, "outbound", creator)
|
||||
}
|
||||
|
||||
func CreateInboundConnectionConfig(protocol string, data []byte) (interface{}, error) {
|
||||
func CreateInboundConfig(protocol string, data []byte) (interface{}, error) {
|
||||
creator, found := configCache[getConfigKey(protocol, "inbound")]
|
||||
if !found {
|
||||
return nil, errors.New(protocol + " not found.")
|
||||
@@ -36,7 +36,7 @@ func CreateInboundConnectionConfig(protocol string, data []byte) (interface{}, e
|
||||
return creator(data)
|
||||
}
|
||||
|
||||
func CreateOutboundConnectionConfig(protocol string, data []byte) (interface{}, error) {
|
||||
func CreateOutboundConfig(protocol string, data []byte) (interface{}, error) {
|
||||
creator, found := configCache[getConfigKey(protocol, "outbound")]
|
||||
if !found {
|
||||
return nil, errors.New(protocol + " not found.")
|
||||
|
||||
Reference in new issue
Block a user