1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-12-28 04:55:37 -05:00

massive refactoring against json config parsing

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

View File

@@ -0,0 +1,14 @@
// +build json
package blackhole
import (
"github.com/v2ray/v2ray-core/proxy/internal/config"
)
func init() {
config.RegisterOutboundConnectionConfig("blackhole",
func(data []byte) (interface{}, error) {
return new(Config), nil
})
}