v2ray-core/proxy/blackhole/config_json.go

16 lines
268 B
Go
Raw Normal View History

// +build json
package blackhole
import (
2016-06-10 22:26:39 +02:00
"github.com/v2ray/v2ray-core/proxy/internal"
)
2016-06-10 22:26:39 +02:00
func (this *Config) UnmarshalJSON(data []byte) error {
return nil
}
func init() {
2016-06-10 22:26:39 +02:00
internal.RegisterOutboundConfig("blackhole", func() interface{} { return new(Config) })
}