json config parser

This commit is contained in:
Darien Raymond committed 2016-10-17 14:35:13 +02:00
1 parent e866ff24a4
commit 5a311cbe08
85 files changed
+9357 -9052

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
package blackhole
import (
"v2ray.com/core/common/loader"
"v2ray.com/core/proxy/registry"
)
func init() {
// Must listed after config.pb.go
registry.MustRegisterOutboundHandlerCreator(loader.GetType(new(Config)), new(Factory))
}