rename RegisterInboundConnectionConfig to RegisterInboundConfig

This commit is contained in:
v2ray committed 2016-01-25 17:19:09 +01:00
1 parent 9fe8178e4a
commit 01ed2fa889
9 files changed
+11 -11

No files matched your search

+2 -2
View File
@@ -20,11 +20,11 @@ func registerConfigType(protocol string, proxyType string, creator ConfigObjectC
return nil
}
func RegisterInboundConnectionConfig(protocol string, creator ConfigObjectCreator) error {
func RegisterInboundConfig(protocol string, creator ConfigObjectCreator) error {
return registerConfigType(protocol, "inbound", creator)
}
func RegisterOutboundConnectionConfig(protocol string, creator ConfigObjectCreator) error {
func RegisterOutboundConfig(protocol string, creator ConfigObjectCreator) error {
return registerConfigType(protocol, "outbound", creator)
}