json.go 238 B

1234567891011121314
  1. package json
  2. import (
  3. "github.com/v2ray/v2ray-core/proxy/common/config/json"
  4. )
  5. type BlackHoleConfig struct {
  6. }
  7. func init() {
  8. json.RegisterOutboundConnectionConfig("blackhole", func() interface{} {
  9. return new(BlackHoleConfig)
  10. })
  11. }