v2ray-core/proxy/blackhole/init.go

12 lines
230 B
Go
Raw Normal View History

2016-10-17 12:35:13 +00:00
package blackhole
import (
2016-12-15 10:51:09 +00:00
"v2ray.com/core/common/serial"
2016-12-15 14:46:20 +00:00
"v2ray.com/core/proxy"
2016-10-17 12:35:13 +00:00
)
func init() {
// Must listed after config.pb.go
2016-12-15 14:46:20 +00:00
proxy.MustRegisterOutboundHandlerCreator(serial.GetMessageType(new(Config)), new(Factory))
2016-10-17 12:35:13 +00:00
}