massive refactoring against json config parsing

This commit is contained in:
v2ray committed 2016-01-15 12:43:06 +01:00
1 parent f87ab4713c
commit e5fa96f814
51 files changed
+424 -586

No files matched your search

+1 -1
View File
@@ -9,6 +9,6 @@ import (
func init() {
internal.MustRegisterInboundConnectionHandlerCreator("socks",
func(space app.Space, rawConfig interface{}) (proxy.InboundConnectionHandler, error) {
return NewSocksServer(space, rawConfig.(Config)), nil
return NewSocksServer(space, rawConfig.(*Config)), nil
})
}