1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-01-05 00:47:51 -05:00
v2fly/proxy/blackhole/json/json.go

16 lines
318 B
Go
Raw Normal View History

2015-10-28 12:41:14 -04:00
package json
import (
"github.com/v2ray/v2ray-core/proxy/internal/config"
"github.com/v2ray/v2ray-core/proxy/internal/config/json"
2015-10-28 12:41:14 -04:00
)
type BlackHoleConfig struct {
}
func init() {
config.RegisterOutboundConnectionConfig("blackhole", json.JsonConfigLoader(func() interface{} {
2015-10-28 12:41:14 -04:00
return new(BlackHoleConfig)
}))
2015-10-28 12:41:14 -04:00
}