You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
v2ray-core/proxy/blackhole/config_json.go

15 lines
235 B

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